diff --git a/src/main/java/cokr/xit/fims/payer/web/PayerController.java b/src/main/java/cokr/xit/fims/payer/web/PayerController.java index 050246e6..801c61dc 100644 --- a/src/main/java/cokr/xit/fims/payer/web/PayerController.java +++ b/src/main/java/cokr/xit/fims/payer/web/PayerController.java @@ -15,6 +15,7 @@ import cokr.xit.base.web.ApplicationController; import cokr.xit.fims.payer.Payer; import cokr.xit.fims.payer.PayerQuery; import cokr.xit.fims.payer.service.PayerService; +import cokr.xit.fims.task.Task; import cokr.xit.foundation.data.DataObject; import cokr.xit.interfaces.lvis.service.reg.BasicInfoRequest; @@ -29,6 +30,7 @@ import cokr.xit.interfaces.lvis.service.reg.BasicInfoRequest; * */ @Controller +@RequestMapping(name="납부자", value="/payer") public class PayerController extends ApplicationController { public class METHOD_URL { @@ -51,6 +53,7 @@ public class PayerController extends ApplicationController { * 조건없는 {@link #getPayerList(PayerQuery) 납부자 조회 결과}를 포함시킨다. * @return /payer/payer-main */ + @Task("CMN") @RequestMapping(name = "납부자 메인", value = "/main.do") public ModelAndView main() { ModelAndView mav = getPayerList(new PayerQuery().setPageNum(1)); @@ -69,7 +72,8 @@ public class PayerController extends ApplicationController { * "payerTotal": 조회 결과 찾은 전체 납부자 수 * } */ - @RequestMapping(name = "납부자 조회", value = "/list.do") + @Task("CMN") + @RequestMapping(name = "납부자 목록 조회", value = "/list.do") public ModelAndView getPayerList(PayerQuery req) { List result = payerService.getPayerList(setFetchSize(req)); return setCollectionInfo(new ModelAndView("jsonView"), result, "payer"); @@ -82,6 +86,7 @@ public class PayerController extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task("CMN") @PostMapping(name = "납부자 등록", value = "/create.do") public ModelAndView create(Payer payer) { boolean saved = payerService.create(payer); @@ -96,6 +101,7 @@ public class PayerController extends ApplicationController { * "saved": 수정되었으면 true, 그렇지 않으면 false * } */ + @Task("CMN") @PostMapping(name = "납부자 수정", value = "/update.do") public ModelAndView update(Payer payer) { boolean saved = payerService.update(payer); @@ -111,6 +117,7 @@ public class PayerController extends ApplicationController { * "saved": 저장되었으면 true, 그렇지 않으면 false * } */ + @Task("CMN") @PostMapping(name = "납부자 제거", value = "/remove.do") public ModelAndView remove(String... rtpyrIds) { int affected = payerService.remove(rtpyrIds); @@ -119,6 +126,7 @@ public class PayerController extends ApplicationController { .addObject("saved", affected > 0); } + @Task("CMN") @PostMapping(name = "차량/납부자 조회", value = "/vehicle.do") public ModelAndView getVehicleOwner(BasicInfoRequest req) { Payer payer = payerService.getVehicleOwner(req); @@ -136,6 +144,8 @@ public class PayerController extends ApplicationController { * "payerInfo": 납부자 정보 * } */ + @Task + @RequestMapping(name="납부자 정보 조회", value=METHOD_URL.getPayerInfo) public ModelAndView getPayerInfo(PayerQuery req) { DataObject payerInfo = payerService.getPayerInfo(req); @@ -162,6 +172,8 @@ public class PayerController extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="단속 납부자 등록", value=METHOD_URL.createCrdnPayer) public ModelAndView createCrdnPayer(Payer payer) { boolean saved = false; String rtnMsg = payerService.createCrdnPayer(payer); @@ -185,6 +197,8 @@ public class PayerController extends ApplicationController { * "payerHstryList": [납부자 변경 이력 목록] * } */ + @Task + @RequestMapping(name="납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys) public ModelAndView getPayerHstrys(PayerQuery req) { List result = payerService.getPayerHstrys(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 deleted file mode 100644 index 1818a95a..00000000 --- a/src/main/java/cokr/xit/fims/task/web/BpvController.java +++ /dev/null @@ -1,59 +0,0 @@ -package cokr.xit.fims.task.web; - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.servlet.ModelAndView; - -import cokr.xit.fims.payer.Payer; -import cokr.xit.fims.payer.PayerQuery; - -@Controller -public class BpvController { - - public static final String CLASS_URL = "/BPV"; - - - - - - - - - @Controller - @RequestMapping(name="전용차로과태료업무 납부자", value=CLASS_URL+"/payer") - class PayerController extends cokr.xit.fims.payer.web.PayerController { - - - @Override - @RequestMapping(name="전용차로과태료업무 납부자 등록", value=METHOD_URL.create) - public ModelAndView create(Payer payer) { - return super.create(payer); - } - - @Override - @RequestMapping(name="전용차로과태료업무 납부자 수정", value=METHOD_URL.update) - public ModelAndView update(Payer payer) { - return super.update(payer); - } - - @Override - @RequestMapping(name="전용차로과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo) - public ModelAndView getPayerInfo(PayerQuery req) { - return super.getPayerInfo(req); - } - - @Override - @RequestMapping(name="전용차로과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer) - public ModelAndView createCrdnPayer(Payer payer) { - return super.createCrdnPayer(payer); - } - - @Override - @RequestMapping(name="전용차로과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys) - public ModelAndView getPayerHstrys(PayerQuery req) { - return super.getPayerHstrys(req); - } - - } - -} 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 c3525325..fbbc18dc 100644 --- a/src/main/java/cokr/xit/fims/task/web/CmnController.java +++ b/src/main/java/cokr/xit/fims/task/web/CmnController.java @@ -113,7 +113,6 @@ public class CmnController { - @Controller @RequestMapping(name="통계", value=Stat01Controller.CLASS_URL) class Stat01Controller extends cokr.xit.fims.stat.web.Stat01Controller { @@ -360,11 +359,7 @@ public class CmnController { } - @Controller - @RequestMapping(name="납부자", value="/payer") - class PayerController extends cokr.xit.fims.payer.web.PayerController { - } @Controller @RequestMapping(name="설정관리", value=StngController.CLASS_URL) 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 53b52555..77367d4c 100644 --- a/src/main/java/cokr/xit/fims/task/web/DpvController.java +++ b/src/main/java/cokr/xit/fims/task/web/DpvController.java @@ -11,8 +11,6 @@ import cokr.xit.fims.epst.EpostRcptReg; import cokr.xit.fims.nxrp.NisIndivQuery; import cokr.xit.fims.nxrp.NxrpMtchg; import cokr.xit.fims.nxrp.NxrpMtchgQuery; -import cokr.xit.fims.payer.Payer; -import cokr.xit.fims.payer.PayerQuery; import cokr.xit.fims.rcvm.Rcvmt; import cokr.xit.fims.rcvm.RcvmtQuery; import cokr.xit.fims.sndb.SndbQuery; @@ -427,40 +425,6 @@ public class DpvController { } - @Controller - @RequestMapping(name="장애인과태료업무 납부자", value=CLASS_URL+"/payer") - class PayerController extends cokr.xit.fims.payer.web.PayerController { - @Override - @RequestMapping(name="장애인과태료업무 납부자 등록", value=METHOD_URL.create) - public ModelAndView create(Payer payer) { - return super.create(payer); - } - - @Override - @RequestMapping(name="장애인과태료업무 납부자 수정", value=METHOD_URL.update) - public ModelAndView update(Payer payer) { - return super.update(payer); - } - - @Override - @RequestMapping(name="장애인과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo) - public ModelAndView getPayerInfo(PayerQuery req) { - return super.getPayerInfo(req); - } - - @Override - @RequestMapping(name="장애인과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer) - public ModelAndView createCrdnPayer(Payer payer) { - return super.createCrdnPayer(payer); - } - - @Override - @RequestMapping(name="장애인과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys) - public ModelAndView getPayerHstrys(PayerQuery req) { - return super.getPayerHstrys(req); - } - - } } diff --git a/src/main/java/cokr/xit/fims/task/web/EcaController.java b/src/main/java/cokr/xit/fims/task/web/EcaController.java deleted file mode 100644 index 7bdd16e4..00000000 --- a/src/main/java/cokr/xit/fims/task/web/EcaController.java +++ /dev/null @@ -1,56 +0,0 @@ -package cokr.xit.fims.task.web; - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.servlet.ModelAndView; - -import cokr.xit.fims.payer.Payer; -import cokr.xit.fims.payer.PayerQuery; - -@Controller -public class EcaController { - - public static final String CLASS_URL = "/ECA"; - - - - - - - @Controller - @RequestMapping(name="전기차과태료업무 납부자", value=CLASS_URL+"/payer") - class PayerController extends cokr.xit.fims.payer.web.PayerController { - - @Override - @RequestMapping(name="전기차과태료업무 납부자 등록", value=METHOD_URL.create) - public ModelAndView create(Payer payer) { - return super.create(payer); - } - - @Override - @RequestMapping(name="전기차과태료업무 납부자 수정", value=METHOD_URL.update) - public ModelAndView update(Payer payer) { - return super.update(payer); - } - - @Override - @RequestMapping(name="전기차과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo) - public ModelAndView getPayerInfo(PayerQuery req) { - return super.getPayerInfo(req); - } - - @Override - @RequestMapping(name="전기차과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer) - public ModelAndView createCrdnPayer(Payer payer) { - return super.createCrdnPayer(payer); - } - - @Override - @RequestMapping(name="전기차과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys) - public ModelAndView getPayerHstrys(PayerQuery req) { - return super.getPayerHstrys(req); - } - - } - -} diff --git a/src/main/java/cokr/xit/fims/task/web/PvsController.java b/src/main/java/cokr/xit/fims/task/web/PvsController.java deleted file mode 100644 index ea82cf74..00000000 --- a/src/main/java/cokr/xit/fims/task/web/PvsController.java +++ /dev/null @@ -1,59 +0,0 @@ -package cokr.xit.fims.task.web; - -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.servlet.ModelAndView; - -import cokr.xit.fims.payer.Payer; -import cokr.xit.fims.payer.PayerQuery; - -@Controller -public class PvsController { - - public static final String CLASS_URL = "/PVS"; - - - - - - - - - - @Controller - @RequestMapping(name="주정차과태료업무 납부자", value=CLASS_URL+"/payer") - class PayerController extends cokr.xit.fims.payer.web.PayerController { - - @Override - @RequestMapping(name="주정차과태료업무 납부자 등록", value=METHOD_URL.create) - public ModelAndView create(Payer payer) { - return super.create(payer); - } - - @Override - @RequestMapping(name="주정차과태료업무 납부자 수정", value=METHOD_URL.update) - public ModelAndView update(Payer payer) { - return super.update(payer); - } - - @Override - @RequestMapping(name="주정차과태료업무 납부자 정보 조회", value=METHOD_URL.getPayerInfo) - public ModelAndView getPayerInfo(PayerQuery req) { - return super.getPayerInfo(req); - } - - @Override - @RequestMapping(name="주정차과태료업무 납부자 등록", value=METHOD_URL.createCrdnPayer) - public ModelAndView createCrdnPayer(Payer payer) { - return super.createCrdnPayer(payer); - } - - @Override - @RequestMapping(name="주정차과태료업무 납부자 변경 이력 조회", value=METHOD_URL.getPayerHstrys) - public ModelAndView getPayerHstrys(PayerQuery req) { - return super.getPayerHstrys(req); - } - - } - -}