From 147c350ab53668691cf90659faef824df86f1edb Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 15 Apr 2024 13:51:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/epst/web/Epst02Controller.java | 32 +++++ .../xit/fims/rcvm/web/Rcvm01Controller.java | 16 +++ .../cokr/xit/fims/task/web/CmnController.java | 43 ------ .../cokr/xit/fims/task/web/DpvController.java | 126 ------------------ 4 files changed, 48 insertions(+), 169 deletions(-) diff --git a/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java b/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java index a58e5125..0c6f1030 100644 --- a/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.java +++ b/src/main/java/cokr/xit/fims/epst/web/Epst02Controller.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; @@ -25,6 +27,7 @@ import cokr.xit.fims.epst.service.EpostGdccService; import cokr.xit.fims.epst.service.EpostRcptDtlService; import cokr.xit.fims.epst.service.EpostRcptRegService; import cokr.xit.fims.epst.service.EpostRcptRsltService; +import cokr.xit.fims.task.Task; import cokr.xit.foundation.data.DataObject; /**전자우편 안내문 서비스의 웹 컨트롤러 @@ -37,6 +40,8 @@ import cokr.xit.foundation.data.DataObject; * ================================ * */ +@Controller +@RequestMapping(name="우편통합", value=Epst02Controller.CLASS_URL) public class Epst02Controller extends ApplicationController { public static final String CLASS_URL = "/epst/epst02"; @@ -84,6 +89,7 @@ public class Epst02Controller extends ApplicationController { * 조건없는 {@link #getEpostGdccList(EpostGdccQuery) 전자우편 안내문 조회 결과}를 포함시킨다. * @return /epostGdcc/epostGdcc-main */ + @RequestMapping(name="안내문관리", value=METHOD_URL.epostGuidanceDocumentMain) public ModelAndView epostGuidanceDocumentMain() { ModelAndView mav = new ModelAndView("fims/epst/epst02010-main"); @@ -114,6 +120,8 @@ public class Epst02Controller extends ApplicationController { * "epostGdccTotal": 조회 결과 찾은 전체 전자우편 안내문 수 * } */ + @Task + @RequestMapping(name="전자우편 안내문 목록 조회", value=METHOD_URL.getEpostGuidanceDocumentList) public ModelAndView getEpostGuidanceDocumentList(EpostQuery req) { if (!"xls".equals(req.getDownload())) { List result = epostGdccService.getEpostGdccList(setFetchSize(req)); @@ -170,6 +178,8 @@ public class Epst02Controller extends ApplicationController { * "epostGdccInfo": 전자우편 안내문 정보 * } */ + @Task + @RequestMapping(name="전자우편 안내문 정보 조회", value=METHOD_URL.getEpostGuidanceDocumentInfo) public ModelAndView getEpostGuidanceDocumentInfo(EpostQuery req) { // DataObject info = epostGdccService.getEpostGdccInfo(req); @@ -197,6 +207,8 @@ public class Epst02Controller extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="전자우편 안내문 등록", value=METHOD_URL.createEpostGuidanceDocument) public ModelAndView createEpostGuidanceDocument(EpostGdcc epostGdcc) { boolean saved = false; String rtnMsg = epostGdccService.createEpostGdcc(epostGdcc); @@ -219,6 +231,8 @@ public class Epst02Controller extends ApplicationController { * "saved": 수정되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="전자우편 안내문 수정", value=METHOD_URL.updateEpostGuidanceDocument) public ModelAndView updateEpostGuidanceDocument(EpostGdcc epostGdcc) { boolean saved = false; String rtnMsg = epostGdccService.updateEpostGdcc(epostGdcc); @@ -242,6 +256,8 @@ public class Epst02Controller extends ApplicationController { * "saved": 저장되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="전자우편 안내문 삭제", value=METHOD_URL.removeEpostGuidanceDocument) public ModelAndView removeEpostGuidanceDocument(EpostGdcc epostGdcc) { boolean saved = false; String rtnMsg = epostGdccService.removeEpostGdcc(epostGdcc); @@ -260,6 +276,7 @@ public class Epst02Controller extends ApplicationController { /**전자우편 접수 등록 관리 메인화면(fims/epst/epst02030-main)을 연다. * @return /fims/epst/epst02030-main */ + @RequestMapping(name="우편발송", value=METHOD_URL.epostReceiptRegistrationMain) public ModelAndView epostReceiptRegistrationMain() { ModelAndView mav = new ModelAndView("fims/epst/epst02030-main"); @@ -294,6 +311,8 @@ public class Epst02Controller extends ApplicationController { * "epostRcptRegTotal": 조회 결과 찾은 전체 전자우편 접수 등록 수 * } */ + @Task + @RequestMapping(name="전자우편 발송 목록 조회", value=METHOD_URL.getEpostReceiptRegistrationList) public ModelAndView getEpostReceiptRegistrationList(EpostQuery req) { if (!"xls".equals(req.getDownload())) { List result = epostRcptRegService.getEpostRcptRegList(setFetchSize(req)); @@ -350,6 +369,8 @@ public class Epst02Controller extends ApplicationController { * "epostRcptReg": 전자우편 접수 등록 정보 * } */ + @Task + @RequestMapping(name="전자우편 발송 상세 화면", value=METHOD_URL.getEpostReceiptRegistrationDetailInfo) public ModelAndView getEpostReceiptRegistrationDetailInfo(EpostQuery req) { // ModelAndView mav = getEpostReceiptRegistrationDetailList(req); @@ -373,6 +394,8 @@ public class Epst02Controller extends ApplicationController { * "epostRcptReg": 전자우편 접수 등록 정보 * } */ + @Task + @RequestMapping(name="전자우편 발송 상세 목록 조회", value=METHOD_URL.getEpostReceiptRegistrationDetailList) public ModelAndView getEpostReceiptRegistrationDetailList(EpostQuery req) { // 엑셀 저장이 아니라면.. 검색 if (!"xls".equals(req.getDownload())) { @@ -433,6 +456,8 @@ public class Epst02Controller extends ApplicationController { * "saved": 수정되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="전자우편 발송 우편처리상태코드 수정", value=METHOD_URL.updateEpostSendingProcessStatus) public ModelAndView updateEpostSendingProcessStatus(EpostRcptReg epostRcptReg) { boolean saved = false; String rtnMsg = epostRcptRegService.updatePostPrcsSttsCd(epostRcptReg); @@ -456,6 +481,8 @@ public class Epst02Controller extends ApplicationController { * "saved": 저장되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="전자우편 발송 삭제", value=METHOD_URL.removeEpostSendingStatus) public ModelAndView removeEpostSendingStatus(EpostRcptReg epostRcptReg) { boolean saved = false; String rtnMsg = epostRcptRegService.remove(epostRcptReg); @@ -475,6 +502,7 @@ public class Epst02Controller extends ApplicationController { * 조건없는 {@link #getEpostRcptRsltList(EpostRcptRsltQuery) 전자우편 접수 결과 조회 결과}를 포함시킨다. * @return /epostRcptRslt/epostRcptRslt-main */ + @RequestMapping(name="접수결과", value=METHOD_URL.epostReceiptResultMain) public ModelAndView epostReceiptResultMain() { // boolean json = jsonResponse(); @@ -515,6 +543,8 @@ public class Epst02Controller extends ApplicationController { * "epostRcptRsltTotal": 조회 결과 찾은 전체 전자우편 접수 결과 수 * } */ + @Task + @RequestMapping(name="전자우편 접수 결과 목록 조회", value=METHOD_URL.getEpostReceiptResultList) public ModelAndView getEpostReceiptResultList(EpostQuery req) { if (!"xls".equals(req.getDownload())) { List result = epostRcptRsltService.getEpostRcptRsltList(setFetchSize(req)); @@ -574,6 +604,8 @@ public class Epst02Controller extends ApplicationController { * "crdnPayer": {...} * } */ + @Task + @RequestMapping(name="전자우편 접수 결과 합계 금액 조회", value=METHOD_URL.getEpostReceiptResultSumAmount) public ModelAndView getEpostReceiptResultSumAmount(EpostQuery req) { // List sumAmt = epostRcptRsltService.getEpostRcptRsltSum(req); diff --git a/src/main/java/cokr/xit/fims/rcvm/web/Rcvm01Controller.java b/src/main/java/cokr/xit/fims/rcvm/web/Rcvm01Controller.java index e5caf2c2..18fd4ec1 100644 --- a/src/main/java/cokr/xit/fims/rcvm/web/Rcvm01Controller.java +++ b/src/main/java/cokr/xit/fims/rcvm/web/Rcvm01Controller.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; @@ -21,6 +23,7 @@ import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.rcvm.Rcvmt; import cokr.xit.fims.rcvm.RcvmtQuery; import cokr.xit.fims.rcvm.service.RcvmtService; +import cokr.xit.fims.task.Task; import cokr.xit.foundation.data.DataObject; /**수납 대장 서비스의 웹 컨트롤러 @@ -33,6 +36,8 @@ import cokr.xit.foundation.data.DataObject; * ================================ * */ +@Controller +@RequestMapping(name = "수납 관리", value = Rcvm01Controller.CLASS_URL) public class Rcvm01Controller extends ApplicationController { public static final String CLASS_URL = "/rcvm/rcvm01"; @@ -60,6 +65,7 @@ public class Rcvm01Controller extends ApplicationController { * 조건없는 {@link #getRcvmtList(RcvmtQuery) 수납 대장 조회 결과}를 포함시킨다. * @return /rcvmt/rcvmt-main */ + @RequestMapping(name = "수납 관리 메인", value = METHOD_URL.receivingMoneyMain) public ModelAndView receivingMoneyMain() { // View(jsp) ModelAndView mav = new ModelAndView("fims/rcvm/rcvm01010-main"); @@ -90,6 +96,8 @@ public class Rcvm01Controller extends ApplicationController { * "rcvmtTotal": 조회 결과 찾은 전체 수납 대장 수 * } */ + @Task + @RequestMapping(name="수납 대장 목록 조회", value=METHOD_URL.getReceivingMoneyList) public ModelAndView getReceivingMoneyList(RcvmtQuery req) { if (!"xls".equals(req.getDownload())) { List result = rcvmtService.getRcvmtList(setFetchSize(req)); @@ -178,6 +186,8 @@ public class Rcvm01Controller extends ApplicationController { * "rcvmtInfo": 수납 정보 * } */ + @Task + @RequestMapping(name="수납 정보 조회", value=METHOD_URL.getReceivingMoneyInfo) public ModelAndView getReceivingMoneyInfo(RcvmtQuery req) { // 수납 정보 조회 DataObject info = rcvmtService.getRcvmtInfo(req); @@ -206,6 +216,8 @@ public class Rcvm01Controller extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="수납 대장 등록", value=METHOD_URL.createReceivingMoney) public ModelAndView createReceivingMoney(Rcvmt rcvmt) { boolean saved = false; String rtnMsg = rcvmtService.createRcvmt(rcvmt); @@ -228,6 +240,8 @@ public class Rcvm01Controller extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="수납 대장에 수납취소 수정", value=METHOD_URL.updateReceivingMoneyRetraction) public ModelAndView updateReceivingMoneyRetraction(Rcvmt rcvmt) { boolean saved = false; String rtnMsg = rcvmtService.updateRcvmtRtrcn(rcvmt); @@ -250,6 +264,8 @@ public class Rcvm01Controller extends ApplicationController { * "saved": 등록되었으면 true, 그렇지 않으면 false * } */ + @Task + @RequestMapping(name="수납 대장 삭제", value=METHOD_URL.removeReceivingMoney) public ModelAndView removeReceivingMoney(Rcvmt rcvmt) { boolean saved = false; String rtnMsg = rcvmtService.removeRcvmt(rcvmt); 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 9b8b4783..2272d1ac 100644 --- a/src/main/java/cokr/xit/fims/task/web/CmnController.java +++ b/src/main/java/cokr/xit/fims/task/web/CmnController.java @@ -29,22 +29,6 @@ public class CmnController { - @Controller - @RequestMapping(name = "수납 관리", value = Rcvm01Controller.CLASS_URL) - class Rcvm01Controller extends cokr.xit.fims.rcvm.web.Rcvm01Controller { - - /** 수납 관리 메인 화면을 연다. - * @return fims/rcvm/rcvm01010-main - */ - @Override - @RequestMapping(name = "수납 관리 메인", value = METHOD_URL.receivingMoneyMain) - public ModelAndView receivingMoneyMain() { - return super.receivingMoneyMain(); - } - - } - - @Controller @RequestMapping(name="통계", value=Stat01Controller.CLASS_URL) @@ -262,35 +246,8 @@ public class CmnController { } } - @Controller - @RequestMapping(name="우편통합", value=Epst01Controller.CLASS_URL) - class Epst01Controller extends cokr.xit.fims.epst.web.Epst01Controller { - - } - - @Controller - @RequestMapping(name="우편통합", value=Epst02Controller.CLASS_URL) - class Epst02Controller extends cokr.xit.fims.epst.web.Epst02Controller { - @Override - @RequestMapping(name="안내문관리", value=METHOD_URL.epostGuidanceDocumentMain) - public ModelAndView epostGuidanceDocumentMain() { - return super.epostGuidanceDocumentMain(); - } - @Override - @RequestMapping(name="우편발송", value=METHOD_URL.epostReceiptRegistrationMain) - public ModelAndView epostReceiptRegistrationMain() { - return super.epostReceiptRegistrationMain(); - } - - @Override - @RequestMapping(name="접수결과", value=METHOD_URL.epostReceiptResultMain) - public ModelAndView epostReceiptResultMain() { - return super.epostReceiptResultMain(); - } - - } 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 9fd43ec0..cb0ed1f2 100644 --- a/src/main/java/cokr/xit/fims/task/web/DpvController.java +++ b/src/main/java/cokr/xit/fims/task/web/DpvController.java @@ -4,14 +4,9 @@ import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; -import cokr.xit.fims.epst.EpostGdcc; -import cokr.xit.fims.epst.EpostQuery; -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.rcvm.Rcvmt; -import cokr.xit.fims.rcvm.RcvmtQuery; @Controller public class DpvController { @@ -80,132 +75,11 @@ public class DpvController { } - @Controller - @RequestMapping(name="장애인과태료업무 수납", value=CLASS_URL+Rcvm01Controller.CLASS_URL) - class Rcvm01Controller extends cokr.xit.fims.rcvm.web.Rcvm01Controller { - - @Override - @RequestMapping(name="수납 대장 목록 조회", value=METHOD_URL.getReceivingMoneyList) - public ModelAndView getReceivingMoneyList(RcvmtQuery req) { - return super.getReceivingMoneyList(req); - } - - @Override - @RequestMapping(name="수납 정보 조회", value=METHOD_URL.getReceivingMoneyInfo) - public ModelAndView getReceivingMoneyInfo(RcvmtQuery req) { - return super.getReceivingMoneyInfo(req); - } - - @Override - @RequestMapping(name="수납 대장 등록", value=METHOD_URL.createReceivingMoney) - public ModelAndView createReceivingMoney(Rcvmt rcvmt) { - return super.createReceivingMoney(rcvmt); - } - - @Override - @RequestMapping(name="수납 대장에 수납취소 수정", value=METHOD_URL.updateReceivingMoneyRetraction) - public ModelAndView updateReceivingMoneyRetraction(Rcvmt rcvmt) { - return super.updateReceivingMoneyRetraction(rcvmt); - } - - @Override - @RequestMapping(name="수납 대장 수정", value=METHOD_URL.removeReceivingMoney) - public ModelAndView removeReceivingMoney(Rcvmt rcvmt) { - return super.removeReceivingMoney(rcvmt); - } - - } - - - - - - - - @Controller - @RequestMapping(name="우편통합", value=CLASS_URL+Epst01Controller.CLASS_URL) - class Epst01Controller extends cokr.xit.fims.epst.web.Epst01Controller { - - - } - - @Controller - @RequestMapping(name="우편통합", value=CLASS_URL+Epst02Controller.CLASS_URL) - class Epst02Controller extends cokr.xit.fims.epst.web.Epst02Controller { - - @Override - @RequestMapping(name="전자우편 안내문 목록 조회", value=METHOD_URL.getEpostGuidanceDocumentList) - public ModelAndView getEpostGuidanceDocumentList(EpostQuery req) { - return super.getEpostGuidanceDocumentList(req); - } - - @Override - @RequestMapping(name="전자우편 안내문 정보 조회", value=METHOD_URL.getEpostGuidanceDocumentInfo) - public ModelAndView getEpostGuidanceDocumentInfo(EpostQuery req) { - return super.getEpostGuidanceDocumentInfo(req); - } - - @Override - @RequestMapping(name="전자우편 안내문 등록", value=METHOD_URL.createEpostGuidanceDocument) - public ModelAndView createEpostGuidanceDocument(EpostGdcc epostGdcc) { - return super.createEpostGuidanceDocument(epostGdcc); - } - - @Override - @RequestMapping(name="전자우편 안내문 수정", value=METHOD_URL.updateEpostGuidanceDocument) - public ModelAndView updateEpostGuidanceDocument(EpostGdcc epostGdcc) { - return super.updateEpostGuidanceDocument(epostGdcc); - } - - @Override - @RequestMapping(name="전자우편 안내문 삭제", value=METHOD_URL.removeEpostGuidanceDocument) - public ModelAndView removeEpostGuidanceDocument(EpostGdcc epostGdcc) { - return super.removeEpostGuidanceDocument(epostGdcc); - } - - @Override - @RequestMapping(name="전자우편 발송 목록 조회", value=METHOD_URL.getEpostReceiptRegistrationList) - public ModelAndView getEpostReceiptRegistrationList(EpostQuery req) { - return super.getEpostReceiptRegistrationList(req); - } - - @Override - @RequestMapping(name="전자우편 발송 상세 화면", value=METHOD_URL.getEpostReceiptRegistrationDetailInfo) - public ModelAndView getEpostReceiptRegistrationDetailInfo(EpostQuery req) { - return super.getEpostReceiptRegistrationDetailInfo(req); - } - @Override - @RequestMapping(name="전자우편 발송 상세 목록 조회", value=METHOD_URL.getEpostReceiptRegistrationDetailList) - public ModelAndView getEpostReceiptRegistrationDetailList(EpostQuery req) { - return super.getEpostReceiptRegistrationDetailList(req); - } - - @Override - @RequestMapping(name="전자우편 발송 우편처리상태코드 수정", value=METHOD_URL.updateEpostSendingProcessStatus) - public ModelAndView updateEpostSendingProcessStatus(EpostRcptReg epostRcptReg) { - return super.updateEpostSendingProcessStatus(epostRcptReg); - } - @Override - @RequestMapping(name="전자우편 발송 삭제", value=METHOD_URL.removeEpostSendingStatus) - public ModelAndView removeEpostSendingStatus(EpostRcptReg epostRcptReg) { - return super.removeEpostSendingStatus(epostRcptReg); - } - @Override - @RequestMapping(name="전자우편 접수 결과 목록 조회", value=METHOD_URL.getEpostReceiptResultList) - public ModelAndView getEpostReceiptResultList(EpostQuery req) { - return super.getEpostReceiptResultList(req); - } - @Override - @RequestMapping(name="전자우편 접수 결과 합계 금액 조회", value=METHOD_URL.getEpostReceiptResultSumAmount) - public ModelAndView getEpostReceiptResultSumAmount(EpostQuery req) { - return super.getEpostReceiptResultSumAmount(req); - } - }