diff --git a/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java b/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java index 9efe9473..694867bb 100644 --- a/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java +++ b/src/main/java/cokr/xit/fims/levy/web/Levy01Controller.java @@ -8,6 +8,8 @@ import java.util.Map; import javax.annotation.Resource; import org.apache.poi.ss.usermodel.CellStyle; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import cokr.xit.base.code.CommonCode; @@ -23,6 +25,7 @@ import cokr.xit.fims.levy.Levy; import cokr.xit.fims.levy.LevyQuery; import cokr.xit.fims.levy.service.LevyService; import cokr.xit.fims.mngt.service.bean.TaskBean; +import cokr.xit.fims.task.Task; import cokr.xit.foundation.data.DataObject; /**부과 대장 서비스의 웹 컨트롤러 @@ -35,6 +38,8 @@ import cokr.xit.foundation.data.DataObject; * ================================ * */ +@Controller +@RequestMapping(name="부과", value=Levy01Controller.CLASS_URL) public class Levy01Controller extends ApplicationController { public static final String CLASS_URL = "/levy/levy01"; @@ -64,6 +69,7 @@ public class Levy01Controller extends ApplicationController { /**사전 감경부과 대상 메인화면(levy/levy01010-main)을 연다. * @return */ + @RequestMapping(name="사전 감경부과 등록 메인", value=METHOD_URL.reductionLevyTargetMain) public ModelAndView reductionLevyTargetMain() { ModelAndView mav = new ModelAndView("fims/levy/levy01010-main"); @@ -95,6 +101,8 @@ public class Levy01Controller extends ApplicationController { * "levyTotal": 조회 결과 찾은 전체 부과 대장 수 * } */ + @Task + @RequestMapping(name="사전 감경부과 대상 목록 조회", value=METHOD_URL.getReductionLevyTargetList) public ModelAndView getReductionLevyTargetList(LevyQuery req) { if (!"xls".equals(req.getDownload())) { List result = levyService.getRductLevyTrgtList(setFetchSize(req)); @@ -165,6 +173,8 @@ public class Levy01Controller extends ApplicationController { * "rductLevyYmdInfo": 감경 부과 정보 * } */ + @Task + @RequestMapping(name="사전 감경부과 정보 조회", value=METHOD_URL.getReductionLevyTargetInfo) public ModelAndView getReductionLevyTargetInfo(LevyQuery req) { // 감경 부과일자 DataObject info = taskBean.getAdvntceYmdInfo(new CmmnQuery().setSggCd(req.getSggCd()) @@ -194,6 +204,8 @@ public class Levy01Controller extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="사전 감경부과 대장 등록", value=METHOD_URL.createReductionLevyList) public ModelAndView createReductionLevyList(LevyQuery req) { boolean saved = false; String rtnMsg = levyService.createRductLevyList(req); @@ -212,6 +224,7 @@ public class Levy01Controller extends ApplicationController { /**부과 관리 메인화면(levy/levy01050-main)을 연다. * @return */ + @RequestMapping(name="부과 관리 메인", value=METHOD_URL.levyMain) public ModelAndView levyMain() { ModelAndView mav = new ModelAndView("fims/levy/levy01050-main"); @@ -242,6 +255,8 @@ public class Levy01Controller extends ApplicationController { * "levyTotal": 조회 결과 찾은 전체 부과 대장 수 * } */ + @Task + @RequestMapping(name="부과 대장 목록 조회", value=METHOD_URL.getLevyList) public ModelAndView getLevyList(LevyQuery req) { if (!"xls".equals(req.getDownload())) { List result = levyService.getLevyList(setFetchSize(req)); diff --git a/src/main/java/cokr/xit/fims/levy/web/Levy02Controller.java b/src/main/java/cokr/xit/fims/levy/web/Levy02Controller.java index 2e992056..3f010c8f 100644 --- a/src/main/java/cokr/xit/fims/levy/web/Levy02Controller.java +++ b/src/main/java/cokr/xit/fims/levy/web/Levy02Controller.java @@ -8,6 +8,8 @@ import java.util.Map; import javax.annotation.Resource; import org.apache.poi.ss.usermodel.CellStyle; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import cokr.xit.base.code.CommonCode; @@ -22,6 +24,7 @@ import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.levy.LevyQuery; import cokr.xit.fims.levy.Rduct; import cokr.xit.fims.levy.service.RductService; +import cokr.xit.fims.task.Task; import cokr.xit.foundation.data.DataObject; /**과태료 감경 대장 서비스의 웹 컨트롤러 @@ -34,6 +37,8 @@ import cokr.xit.foundation.data.DataObject; * ================================ * */ +@Controller +@RequestMapping(name="과태료 감경 관리", value=Levy02Controller.CLASS_URL) public class Levy02Controller extends ApplicationController { public static final String CLASS_URL = "/levy/levy02"; @@ -64,6 +69,7 @@ public class Levy02Controller extends ApplicationController { * 조건없는 {@link #getRductList(RductQuery) 과태료 감경 대장 조회 결과}를 포함시킨다. * @return /rduct/rduct-main */ + @RequestMapping(name="과태료 감경 관리 대장 메인", value=METHOD_URL.reductionMain) public ModelAndView reductionMain() { ModelAndView mav = new ModelAndView("fims/levy/levy02010-main"); @@ -92,6 +98,8 @@ public class Levy02Controller extends ApplicationController { * "rductTotal": 조회 결과 찾은 전체 과태료 감경 대장 수 * } */ + @Task + @RequestMapping(name="과태료 감경 대장 목록 조회", value=METHOD_URL.getRductList) public ModelAndView getRductList(LevyQuery req) { if (!"xls".equals(req.getDownload())) { List result = rductService.getRductList(setFetchSize(req)); @@ -163,6 +171,8 @@ public class Levy02Controller extends ApplicationController { * "rductInfo": 과태료 감경 정보 * } */ + @Task + @RequestMapping(name="과태료 감경 정보 조회", value=METHOD_URL.getRductInfo) public ModelAndView getRductInfo(LevyQuery req) { // DataObject info = rductService.getRductInfo(req); @@ -200,6 +210,8 @@ public class Levy02Controller extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="과태료 감경 대장 등록", value=METHOD_URL.createRduct) public ModelAndView createRduct(Rduct rduct) { boolean saved = false; String rtnMsg = rductService.createRduct(rduct); @@ -222,6 +234,8 @@ public class Levy02Controller extends ApplicationController { * "saved": 수정되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="과태료 감경 대장 수정", value=METHOD_URL.updateRduct) public ModelAndView updateRduct(Rduct rduct) { boolean saved = false; String rtnMsg = rductService.updateRduct(rduct); @@ -245,6 +259,8 @@ public class Levy02Controller extends ApplicationController { * "saved": 저장되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="과태료 감경 대장 삭제", value=METHOD_URL.removeRduct) public ModelAndView removeRduct(Rduct rduct) { boolean saved = false; String rtnMsg = rductService.removeRduct(rduct); @@ -268,6 +284,8 @@ public class Levy02Controller extends ApplicationController { * "saved": 저장되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="과태료 감경 대장 목록 삭제", value=METHOD_URL.removeRductList) public ModelAndView removeRductList(LevyQuery req) { boolean saved = false; String rtnMsg = rductService.removeRducts(req); diff --git a/src/main/java/cokr/xit/fims/task/web/BpvController.java b/src/main/java/cokr/xit/fims/task/web/BpvController.java index 0d9e9040..5788d55b 100644 --- a/src/main/java/cokr/xit/fims/task/web/BpvController.java +++ b/src/main/java/cokr/xit/fims/task/web/BpvController.java @@ -4,8 +4,6 @@ import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; -import cokr.xit.fims.levy.LevyQuery; -import cokr.xit.fims.levy.Rduct; import cokr.xit.fims.payer.Payer; import cokr.xit.fims.payer.PayerQuery; import cokr.xit.fims.sprt.CvlcptDscsn; @@ -21,69 +19,6 @@ public class BpvController { - - - - @Controller - @RequestMapping(name="전용차로과태료업무 부과 관리", value=CLASS_URL+Levy01Controller.CLASS_URL) - class Levy01Controller extends cokr.xit.fims.levy.web.Levy01Controller { - - @Override - @RequestMapping(name="전용차로과태료업무 사전 부과 대상 목록 조회", value=METHOD_URL.getReductionLevyTargetList) - public ModelAndView getReductionLevyTargetList(LevyQuery req) { - return super.getReductionLevyTargetList(req); - } - - @Override - @RequestMapping(name="전용차로과태료업무 사전(감경) 부과 대장 등록", value=METHOD_URL.createReductionLevyList) - public ModelAndView createReductionLevyList(LevyQuery req) { - return super.createReductionLevyList(req); - } - - } - - @Controller - @RequestMapping(name="전용차로과태료업무 부과_과태료 감경 관리", value=CLASS_URL+Levy02Controller.CLASS_URL) - class Levy02Controller extends cokr.xit.fims.levy.web.Levy02Controller { - - @Override - @RequestMapping(name="전용차로과태료업무 과태료 감경 대장 목록 조회", value=METHOD_URL.getRductList) - public ModelAndView getRductList(LevyQuery req) { - return super.getRductList(req); - } - - @Override - @RequestMapping(name="전용차로과태료업무 과태료 감경 대장 삭제", value=METHOD_URL.removeRduct) - public ModelAndView removeRduct(Rduct rduct) { - return super.removeRduct(rduct); - } - - @Override - @RequestMapping(name="전용차로과태료업무 과태료 감경 대장 목록 삭제", value=METHOD_URL.removeRductList) - public ModelAndView removeRductList(LevyQuery req) { - return super.removeRductList(req); - } - - @Override - @RequestMapping(name="전용차로과태료업무 과태료 감경 정보 조회", value=METHOD_URL.getRductInfo) - public ModelAndView getRductInfo(LevyQuery req) { - return super.getRductInfo(req); - } - - @Override - @RequestMapping(name="전용차로과태료업무 과태료 감경 대장 등록", value=METHOD_URL.createRduct) - public ModelAndView createRduct(Rduct rduct) { - return super.createRduct(rduct); - } - - @Override - @RequestMapping(name="전용차로과태료업무 과태료 감경 대장 수정", value=METHOD_URL.updateRduct) - public ModelAndView updateRduct(Rduct rduct) { - return super.updateRduct(rduct); - } - - } - @Controller @RequestMapping(name="전용차로과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01/") class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} diff --git a/src/main/java/cokr/xit/fims/task/web/CmnController.java b/src/main/java/cokr/xit/fims/task/web/CmnController.java index 59ad506d..2e9e0f53 100644 --- a/src/main/java/cokr/xit/fims/task/web/CmnController.java +++ b/src/main/java/cokr/xit/fims/task/web/CmnController.java @@ -33,45 +33,6 @@ public class CmnController { - @Controller - @RequestMapping(name="부과", value=Levy01Controller.CLASS_URL) - class Levy01Controller extends cokr.xit.fims.levy.web.Levy01Controller { - - /** 사전 감경부과 등록 메인화면을 연다. - * @return fims/levy/levy01010-main - */ - @Override - @RequestMapping(name="사전 감경부과 등록 메인", value=METHOD_URL.reductionLevyTargetMain) - public ModelAndView reductionLevyTargetMain() { - return super.reductionLevyTargetMain(); - } - - /** 부과 관리 메인화면을 연다. - * @return fims/levy/levy01030-main - */ - @Override - @RequestMapping(name="부과 관리 메인", value=METHOD_URL.levyMain) - public ModelAndView levyMain() { - return super.levyMain(); - } - - } - - @Controller - @RequestMapping(name="과태료 감경 관리", value=Levy02Controller.CLASS_URL) - class Levy02Controller extends cokr.xit.fims.levy.web.Levy02Controller { - - /** 과태료 감경 관리 메인화면을 연다. - * @return fims/levy/levy02010-main - */ - @Override - @RequestMapping(name="과태료 감경 관리 대장 메인", value=METHOD_URL.reductionMain) - public ModelAndView reductionMain() { - return super.reductionMain(); - } - - } - @Controller @RequestMapping(name="발송반송", value=Sndb01Controller.CLASS_URL) class Sndb01Controller extends cokr.xit.fims.sndb.web.Sndb01Controller { diff --git a/src/main/java/cokr/xit/fims/task/web/DpvController.java b/src/main/java/cokr/xit/fims/task/web/DpvController.java index bbeba926..4c2ee310 100644 --- a/src/main/java/cokr/xit/fims/task/web/DpvController.java +++ b/src/main/java/cokr/xit/fims/task/web/DpvController.java @@ -8,8 +8,6 @@ import cokr.xit.fims.cmmn.PrintOption; import cokr.xit.fims.epst.EpostGdcc; import cokr.xit.fims.epst.EpostQuery; import cokr.xit.fims.epst.EpostRcptReg; -import cokr.xit.fims.levy.LevyQuery; -import cokr.xit.fims.levy.Rduct; import cokr.xit.fims.nxrp.NisIndivQuery; import cokr.xit.fims.nxrp.NxrpMtchg; import cokr.xit.fims.nxrp.NxrpMtchgQuery; @@ -35,78 +33,6 @@ public class DpvController { - @Controller - @RequestMapping(name="장애인과태료업무 부과_부과 관리", value=CLASS_URL+Levy01Controller.CLASS_URL) - class Levy01Controller extends cokr.xit.fims.levy.web.Levy01Controller { - - @Override - @RequestMapping(name="사전 감경부과 대상 목록 조회", value=METHOD_URL.getReductionLevyTargetList) - public ModelAndView getReductionLevyTargetList(LevyQuery req) { - return super.getReductionLevyTargetList(req); - } - - @Override - @RequestMapping(name="사전 감경부과 정보 조회", value=METHOD_URL.getReductionLevyTargetInfo) - public ModelAndView getReductionLevyTargetInfo(LevyQuery req) { - return super.getReductionLevyTargetInfo(req); - } - - @Override - @RequestMapping(name="사전 감경부과 대장 등록", value=METHOD_URL.createReductionLevyList) - public ModelAndView createReductionLevyList(LevyQuery req) { - return super.createReductionLevyList(req); - } - - @Override - @RequestMapping(name="부과 대장 목록 조회", value=METHOD_URL.getLevyList) - public ModelAndView getLevyList(LevyQuery req) { - return super.getLevyList(req); - } - - } - - @Controller - @RequestMapping(name="장애인과태료업무 부과_과태료 감경 관리", value=CLASS_URL+Levy02Controller.CLASS_URL) - class Levy02Controller extends cokr.xit.fims.levy.web.Levy02Controller { - - @Override - @RequestMapping(name="과태료 감경 대장 목록 조회", value=METHOD_URL.getRductList) - public ModelAndView getRductList(LevyQuery req) { - return super.getRductList(req); - } - - @Override - @RequestMapping(name="과태료 감경 대장 삭제", value=METHOD_URL.removeRduct) - public ModelAndView removeRduct(Rduct rduct) { - return super.removeRduct(rduct); - } - - @Override - @RequestMapping(name="과태료 감경 대장 목록 삭제", value=METHOD_URL.removeRductList) - public ModelAndView removeRductList(LevyQuery req) { - return super.removeRductList(req); - } - - @Override - @RequestMapping(name="과태료 감경 정보 조회", value=METHOD_URL.getRductInfo) - public ModelAndView getRductInfo(LevyQuery req) { - return super.getRductInfo(req); - } - - @Override - @RequestMapping(name="과태료 감경 대장 등록", value=METHOD_URL.createRduct) - public ModelAndView createRduct(Rduct rduct) { - return super.createRduct(rduct); - } - - @Override - @RequestMapping(name="과태료 감경 대장 수정", value=METHOD_URL.updateRduct) - public ModelAndView updateRduct(Rduct rduct) { - return super.updateRduct(rduct); - } - - } - @Controller @RequestMapping(name="장애인과태료업무 발송,반송", value=CLASS_URL+Sndb01Controller.CLASS_URL) class Sndb01Controller extends cokr.xit.fims.sndb.web.Sndb01Controller { diff --git a/src/main/java/cokr/xit/fims/task/web/EcaController.java b/src/main/java/cokr/xit/fims/task/web/EcaController.java index 41318bc4..558de467 100644 --- a/src/main/java/cokr/xit/fims/task/web/EcaController.java +++ b/src/main/java/cokr/xit/fims/task/web/EcaController.java @@ -4,8 +4,6 @@ import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; -import cokr.xit.fims.levy.LevyQuery; -import cokr.xit.fims.levy.Rduct; import cokr.xit.fims.payer.Payer; import cokr.xit.fims.payer.PayerQuery; import cokr.xit.fims.sprt.CvlcptDscsn; @@ -19,54 +17,6 @@ public class EcaController { - - - @Controller - @RequestMapping(name="전기차과태료업무 부과_부과 관리", value=CLASS_URL+Levy01Controller.CLASS_URL) - class Levy01Controller extends cokr.xit.fims.levy.web.Levy01Controller {} - - @Controller - @RequestMapping(name="전기차과태료업무 부과_과태료 감경 관리", value=CLASS_URL+Levy02Controller.CLASS_URL) - class Levy02Controller extends cokr.xit.fims.levy.web.Levy02Controller { - - @Override - @RequestMapping(name="전기차과태료업무 과태료 감경 대장 목록 조회", value=METHOD_URL.getRductList) - public ModelAndView getRductList(LevyQuery req) { - return super.getRductList(req); - } - - @Override - @RequestMapping(name="전기차과태료업무 과태료 감경 대장 삭제", value=METHOD_URL.removeRduct) - public ModelAndView removeRduct(Rduct rduct) { - return super.removeRduct(rduct); - } - - @Override - @RequestMapping(name="전기차과태료업무 과태료 감경 대장 목록 삭제", value=METHOD_URL.removeRductList) - public ModelAndView removeRductList(LevyQuery req) { - return super.removeRductList(req); - } - - @Override - @RequestMapping(name="전기차과태료업무 과태료 감경 정보 조회", value=METHOD_URL.getRductInfo) - public ModelAndView getRductInfo(LevyQuery req) { - return super.getRductInfo(req); - } - - @Override - @RequestMapping(name="전기차과태료업무 과태료 감경 대장 등록", value=METHOD_URL.createRduct) - public ModelAndView createRduct(Rduct rduct) { - return super.createRduct(rduct); - } - - @Override - @RequestMapping(name="전기차과태료업무 과태료 감경 대장 수정", value=METHOD_URL.updateRduct) - public ModelAndView updateRduct(Rduct rduct) { - return super.updateRduct(rduct); - } - - } - @Controller @RequestMapping(name="전기차과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01/") class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} diff --git a/src/main/java/cokr/xit/fims/task/web/PvsController.java b/src/main/java/cokr/xit/fims/task/web/PvsController.java index 8b692687..1ba2e645 100644 --- a/src/main/java/cokr/xit/fims/task/web/PvsController.java +++ b/src/main/java/cokr/xit/fims/task/web/PvsController.java @@ -4,8 +4,6 @@ import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; -import cokr.xit.fims.levy.LevyQuery; -import cokr.xit.fims.levy.Rduct; import cokr.xit.fims.payer.Payer; import cokr.xit.fims.payer.PayerQuery; import cokr.xit.fims.sprt.CvlcptDscsn; @@ -22,66 +20,6 @@ public class PvsController { - @Controller - @RequestMapping(name="주정차과태료업무 부과 관리", value=CLASS_URL+Levy01Controller.CLASS_URL) - class Levy01Controller extends cokr.xit.fims.levy.web.Levy01Controller { - - @Override - @RequestMapping(name="주정차과태료업무 사전 부과 대상 목록 조회", value=METHOD_URL.getReductionLevyTargetList) - public ModelAndView getReductionLevyTargetList(LevyQuery req) { - return super.getReductionLevyTargetList(req); - } - - @Override - @RequestMapping(name="주정차과태료업무 사전(감경) 부과 대장 등록", value=METHOD_URL.createReductionLevyList) - public ModelAndView createReductionLevyList(LevyQuery req) { - return super.createReductionLevyList(req); - } - - } - - @Controller - @RequestMapping(name="주정차과태료업무 부과_과태료 감경 관리", value=CLASS_URL+Levy02Controller.CLASS_URL) - class Levy02Controller extends cokr.xit.fims.levy.web.Levy02Controller { - - @Override - @RequestMapping(name="주정차과태료업무 과태료 감경 대장 목록 조회", value=METHOD_URL.getRductList) - public ModelAndView getRductList(LevyQuery req) { - return super.getRductList(req); - } - - @Override - @RequestMapping(name="주정차과태료업무 과태료 감경 대장 삭제", value=METHOD_URL.removeRduct) - public ModelAndView removeRduct(Rduct rduct) { - return super.removeRduct(rduct); - } - - @Override - @RequestMapping(name="주정차과태료업무 과태료 감경 대장 목록 삭제", value=METHOD_URL.removeRductList) - public ModelAndView removeRductList(LevyQuery req) { - return super.removeRductList(req); - } - - @Override - @RequestMapping(name="주정차과태료업무 과태료 감경 정보 조회", value=METHOD_URL.getRductInfo) - public ModelAndView getRductInfo(LevyQuery req) { - return super.getRductInfo(req); - } - - @Override - @RequestMapping(name="주정차과태료업무 과태료 감경 대장 등록", value=METHOD_URL.createRduct) - public ModelAndView createRduct(Rduct rduct) { - return super.createRduct(rduct); - } - - @Override - @RequestMapping(name="주정차과태료업무 과태료 감경 대장 수정", value=METHOD_URL.updateRduct) - public ModelAndView updateRduct(Rduct rduct) { - return super.updateRduct(rduct); - } - - } - @Controller @RequestMapping(name="주정차과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01/") class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {}