From f4fae7b67e85f72bcfa834c3afaaf440d831f50a Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 15 Apr 2024 11:03:59 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/sprt/web/Sprt01Controller.java | 21 ++++ .../cokr/xit/fims/task/web/BpvController.java | 3 - .../cokr/xit/fims/task/web/CmnController.java | 116 +----------------- .../cokr/xit/fims/task/web/DpvController.java | 4 +- .../cokr/xit/fims/task/web/EcaController.java | 3 - .../cokr/xit/fims/task/web/PvsController.java | 3 - 6 files changed, 23 insertions(+), 127 deletions(-) diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java index 2a3dee18..844c5a41 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java @@ -12,6 +12,8 @@ import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; 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 com.fasterxml.jackson.core.type.TypeReference; @@ -71,6 +73,8 @@ import cokr.xit.foundation.data.DataObject; * ================================ * */ +@Controller +@RequestMapping(name = "통합 조회", value = Sprt01Controller.CLASS_URL) public class Sprt01Controller extends ApplicationController { public static final String CLASS_URL = "/sprt/sprt01"; @@ -146,6 +150,7 @@ public class Sprt01Controller extends ApplicationController { * * @return /fims/sprt/sprt01010 */ + @RequestMapping(name="통합조회 메인", value=METHOD_URL.integrationSearchMain) public ModelAndView integrationSearchMain(HttpServletRequest req) { ModelAndView mav = new ModelAndView("fims/sprt/sprt01010-main"); @@ -193,6 +198,7 @@ public class Sprt01Controller extends ApplicationController { * @param query 통합 조회 조건 * @return jsonView */ + @RequestMapping(name="통합조회 자료 목록", value=METHOD_URL.getIntegrationDataList) public ModelAndView getIntegrationDataList(SprtQuery query, HttpServletRequest req) { ModelAndView mav = new ModelAndView("jsonView"); @@ -404,6 +410,7 @@ public class Sprt01Controller extends ApplicationController { * * @return /fims/sprt/sprt01100 */ + @RequestMapping(name="특기사항 일괄 입력 화면", value=METHOD_URL.inputEtcCnMain) public ModelAndView inputEtcCnMain(String... crdnIds) { ModelAndView mav = new ModelAndView("fims/sprt/sprt01100-info"); mav.addObject("pageName", "sprt01100"); @@ -420,6 +427,7 @@ public class Sprt01Controller extends ApplicationController { * "saved": 저장되었으면 true, 그렇지 않으면 false * } */ + @RequestMapping(name="특기사항 일괄 입력", value=METHOD_URL.inputEtcCn) public ModelAndView inputEtcCn(Crdn crdn, String... crdnIds) { ModelAndView mav = new ModelAndView("jsonView"); @@ -438,6 +446,7 @@ public class Sprt01Controller extends ApplicationController { * * @return /fims/sprt/sprt01110 */ + @RequestMapping(name="단속 내역서,확인서 출력 화면", value=METHOD_URL.printCrdnMain) public ModelAndView printCrdnMain(String... crdnIds) { ModelAndView mav = new ModelAndView("fims/sprt/sprt01110-info"); mav.addObject("pageName", "sprt01110"); @@ -449,6 +458,7 @@ public class Sprt01Controller extends ApplicationController { /** 단속내역서를 한글 파일로 작성한다. * @return 단속내역서 hwp파일 */ + @RequestMapping(name="단속 내역서 한글 파일 생성", value=METHOD_URL.makeCrdnListFileFromHwpFormat) public ModelAndView makeCrdnListFileFromHwpFormat(String privateInfoYn, String... crdnIds) { PrintOption printOption = new PrintOption(); printOption.setPrivateInfoYn(privateInfoYn); @@ -476,6 +486,7 @@ public class Sprt01Controller extends ApplicationController { /** 단속확인서를 한글 파일로 작성한다. * @return 단속확인서 hwp파일 */ + @RequestMapping(name="단속 확인서 한글 파일 생성", value=METHOD_URL.makeCrdnConfirmFileFromHwpFormat) public ModelAndView makeCrdnConfirmFileFromHwpFormat(String... crdnIds) { PrintOption printOption = new PrintOption(); @@ -525,6 +536,7 @@ public class Sprt01Controller extends ApplicationController { * * @return /fims/sprt/sprt01120 */ + @RequestMapping(name="교부청구서,채권신고서 출력 화면", value=METHOD_URL.printBillMain) public ModelAndView printBillMain(String... crdnIds) { ModelAndView mav = new ModelAndView("fims/sprt/sprt01120-info"); mav.addObject("pageName", "sprt01120"); @@ -536,6 +548,7 @@ public class Sprt01Controller extends ApplicationController { /** 교부청구서를 한글 파일로 작성한다. * @return hwp파일 */ + @RequestMapping(name="교부청구서 한글 파일 생성", value=METHOD_URL.makeRequestForDeliveryFileFromHwpFormat) public ModelAndView makeRequestForDeliveryFileFromHwpFormat(PrintOption printOption, String globalVariableInfo, String... crdnIds) { ModelAndView mav = new ModelAndView("downloadView"); @@ -583,6 +596,7 @@ public class Sprt01Controller extends ApplicationController { /** 채권신고서를 한글 파일로 작성한다. * @return 채권신고서 hwp파일 */ + @RequestMapping(name="채권신고서 한글 파일 생성", value=METHOD_URL.makeReportOnClaimsFileFromHwpFormat) public ModelAndView makeReportOnClaimsFileFromHwpFormat(PrintOption printOption, String globalVariableInfo, String... crdnIds) { ModelAndView mav = new ModelAndView("downloadView"); @@ -633,6 +647,7 @@ public class Sprt01Controller extends ApplicationController { /** 납부확인서를 한글 파일로 작성한다. * @return 납부확인서 hwp파일 */ + @RequestMapping(name="납부확인서 한글 파일 생성", value=METHOD_URL.makeRcvmtConfirmFileFromHwpFormat) public ModelAndView makeRcvmtConfirmFileFromHwpFormat(String... crdnIds) { ModelAndView mav = new ModelAndView("downloadView"); @@ -662,6 +677,7 @@ public class Sprt01Controller extends ApplicationController { * * @return /fims/sprt/sprt01140 */ + @RequestMapping(name="사전통지서 출력 화면", value=METHOD_URL.printAdvntceMain) public ModelAndView printAdvntceMain(String... crdnIds) { ModelAndView mav = new ModelAndView("fims/sprt/sprt01140-info"); mav.addObject("pageName", "sprt01140"); @@ -673,6 +689,7 @@ public class Sprt01Controller extends ApplicationController { /** 사전통지서를 PDF 파일로 작성한다. * @return 사전통지서 PDF파일 */ + @RequestMapping(name="사전통지서 pdf 파일 생성", value=METHOD_URL.makeAdvntcePdf) public ModelAndView makeAdvntcePdf(String[] crdnIds, Sndng sndng, PrintOption printOption) { ModelAndView mav = new ModelAndView("downloadView"); SprtQuery sprtQuery = new SprtQuery(); @@ -796,6 +813,7 @@ public class Sprt01Controller extends ApplicationController { /** 사전통지 정보로 txt파일,이미지파일을 생성하고 압축파일로 반환한다. * @return 사전통지서 압축파일 */ + @RequestMapping(name="사전통지서 외주 파일 생성", value=METHOD_URL.makeAdvntceOutsourcing) public ModelAndView makeAdvntceOutsourcing(String[] crdnIds, Sndng sndng, PrintOption printOption) { ModelAndView mav = new ModelAndView("downloadView"); SprtQuery sprtQuery = new SprtQuery(); @@ -895,6 +913,7 @@ public class Sprt01Controller extends ApplicationController { * * @return /fims/sprt/sprt01150 */ + @RequestMapping(name="고지서 출력 화면", value=METHOD_URL.printNhtMain) public ModelAndView printNhtMain(String... crdnIds) { ModelAndView mav = new ModelAndView("fims/sprt/sprt01150-info"); mav.addObject("pageName", "sprt01150"); @@ -906,6 +925,7 @@ public class Sprt01Controller extends ApplicationController { /** 고지서를 PDF 파일로 작성한다. * @return 고지서 PDF파일 */ + @RequestMapping(name="고지서 pdf 파일 생성", value=METHOD_URL.makeNhtPdf) public ModelAndView makeNhtPdf(String[] crdnIds, Sndng sndng, PrintOption printOption) { ModelAndView mav = new ModelAndView("downloadView"); SprtQuery sprtQuery = new SprtQuery(); @@ -1031,6 +1051,7 @@ public class Sprt01Controller extends ApplicationController { /** 고지 정보로 txt파일,이미지파일을 생성하고 압축파일로 반환한다. * @return 고지서 압축파일 */ + @RequestMapping(name="고지서 외주 파일 생성", value=METHOD_URL.makeNhtOutsourcing) public ModelAndView makeNhtOutsourcing(String[] crdnIds, Sndng sndng, PrintOption printOption) { ModelAndView mav = new ModelAndView("downloadView"); SprtQuery sprtQuery = new SprtQuery(); 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 5788d55b..add175e0 100644 --- a/src/main/java/cokr/xit/fims/task/web/BpvController.java +++ b/src/main/java/cokr/xit/fims/task/web/BpvController.java @@ -19,9 +19,6 @@ public class BpvController { - @Controller - @RequestMapping(name="전용차로과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01/") - class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} @Controller @RequestMapping(name="전용차로과태료업무 업무지원_개별총정보", value=CLASS_URL+Sprt02Controller.CLASS_URL) 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 2e9e0f53..bb287f5c 100644 --- a/src/main/java/cokr/xit/fims/task/web/CmnController.java +++ b/src/main/java/cokr/xit/fims/task/web/CmnController.java @@ -1,7 +1,5 @@ package cokr.xit.fims.task.web; -import javax.servlet.http.HttpServletRequest; - import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.multipart.MultipartFile; @@ -14,8 +12,6 @@ import cokr.xit.fims.cmmn.OtptForm; import cokr.xit.fims.cmmn.OtptStngQuery; import cokr.xit.fims.cmmn.OutsourcingForm; import cokr.xit.fims.cmmn.OutsourcingStngQuery; -import cokr.xit.fims.cmmn.PrintOption; -import cokr.xit.fims.crdn.Crdn; import cokr.xit.fims.mngt.FimsDepartment; import cokr.xit.fims.mngt.FimsSigungu; import cokr.xit.fims.mngt.Ntc; @@ -24,7 +20,6 @@ import cokr.xit.fims.mngt.Schdl; import cokr.xit.fims.mngt.SchdlQuery; import cokr.xit.fims.mngt.Task; import cokr.xit.fims.mngt.VltnQuery; -import cokr.xit.fims.sndb.Sndng; import cokr.xit.fims.sprt.SprtQuery; import cokr.xit.fims.stat.StatQuery; @@ -117,123 +112,14 @@ public class CmnController { } - @Controller - @RequestMapping(name = "통합 조회", value = Sprt01Controller.CLASS_URL) - class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller { - - /** 통합조회 메인 화면을 연다. - * @return fims/sprt/sprt01010-main - */ - @Override - @RequestMapping(name="통합조회 메인", value=METHOD_URL.integrationSearchMain) - public ModelAndView integrationSearchMain(HttpServletRequest req) { - return super.integrationSearchMain(req); - } - - @Override - @RequestMapping(name="통합조회 자료 목록", value=METHOD_URL.getIntegrationDataList) - public ModelAndView getIntegrationDataList(SprtQuery query, HttpServletRequest req) { - return super.getIntegrationDataList(query, req); - } - - @Override - @RequestMapping(name="특기사항 일괄 입력 화면", value=METHOD_URL.inputEtcCnMain) - public ModelAndView inputEtcCnMain(String... crdnIds) { - return super.inputEtcCnMain(crdnIds); - } - - @Override - @RequestMapping(name="특기사항 일괄 입력", value=METHOD_URL.inputEtcCn) - public ModelAndView inputEtcCn(Crdn crdn, String... crdnIds) { - return super.inputEtcCn(crdn, crdnIds); - } - - @Override - @RequestMapping(name="단속 내역서,확인서 출력 화면", value=METHOD_URL.printCrdnMain) - public ModelAndView printCrdnMain(String... crdnIds) { - return super.printCrdnMain(crdnIds); - } - - @Override - @RequestMapping(name="단속 내역서 한글 파일 생성", value=METHOD_URL.makeCrdnListFileFromHwpFormat) - public ModelAndView makeCrdnListFileFromHwpFormat(String privateInfoYn, String... crdnIds) { - return super.makeCrdnListFileFromHwpFormat(privateInfoYn, crdnIds); - } - - @Override - @RequestMapping(name="단속 확인서 한글 파일 생성", value=METHOD_URL.makeCrdnConfirmFileFromHwpFormat) - public ModelAndView makeCrdnConfirmFileFromHwpFormat(String... crdnIds) { - return super.makeCrdnConfirmFileFromHwpFormat(crdnIds); - } - @Override - @RequestMapping(name="교부청구서,채권신고서 출력 화면", value=METHOD_URL.printBillMain) - public ModelAndView printBillMain(String... crdnIds) { - return super.printBillMain(crdnIds); - } - - @Override - @RequestMapping(name="교부청구서 한글 파일 생성", value=METHOD_URL.makeRequestForDeliveryFileFromHwpFormat) - public ModelAndView makeRequestForDeliveryFileFromHwpFormat(PrintOption printOption, String globalVariableInfo, String... crdnIds) { - return super.makeRequestForDeliveryFileFromHwpFormat(printOption, globalVariableInfo, crdnIds); - } - - @Override - @RequestMapping(name="채권신고서 한글 파일 생성", value=METHOD_URL.makeReportOnClaimsFileFromHwpFormat) - public ModelAndView makeReportOnClaimsFileFromHwpFormat(PrintOption printOption, String globalVariableInfo, String... crdnIds) { - return super.makeReportOnClaimsFileFromHwpFormat(printOption, globalVariableInfo, crdnIds); - } - - @Override - @RequestMapping(name="납부확인서 한글 파일 생성", value=METHOD_URL.makeRcvmtConfirmFileFromHwpFormat) - public ModelAndView makeRcvmtConfirmFileFromHwpFormat(String... crdnIds) { - return super.makeRcvmtConfirmFileFromHwpFormat(crdnIds); - } - - @Override - @RequestMapping(name="사전통지서 출력 화면", value=METHOD_URL.printAdvntceMain) - public ModelAndView printAdvntceMain(String... crdnIds) { - return super.printAdvntceMain(crdnIds); - } - - @Override - @RequestMapping(name="사전통지서 pdf 파일 생성", value=METHOD_URL.makeAdvntcePdf) - public ModelAndView makeAdvntcePdf(String[] crdnIds, Sndng sndng, PrintOption printOption) { - return super.makeAdvntcePdf(crdnIds, sndng, printOption); - } - - @Override - @RequestMapping(name="사전통지서 외주 파일 생성", value=METHOD_URL.makeAdvntceOutsourcing) - public ModelAndView makeAdvntceOutsourcing(String[] crdnIds, Sndng sndng, PrintOption printOption) { - return super.makeAdvntceOutsourcing(crdnIds, sndng, printOption); - } - - @Override - @RequestMapping(name="고지서 출력 화면", value=METHOD_URL.printNhtMain) - public ModelAndView printNhtMain(String... crdnIds) { - return super.printNhtMain(crdnIds); - } - - @Override - @RequestMapping(name="고지서 pdf 파일 생성", value=METHOD_URL.makeNhtPdf) - public ModelAndView makeNhtPdf(String[] crdnIds, Sndng sndng, PrintOption printOption) { - return super.makeNhtPdf(crdnIds, sndng, printOption); - } - - @Override - @RequestMapping(name="고지서 외주 파일 생성", value=METHOD_URL.makeNhtOutsourcing) - public ModelAndView makeNhtOutsourcing(String[] crdnIds, Sndng sndng, PrintOption printOption) { - return super.makeNhtOutsourcing(crdnIds, sndng, printOption); - } - - } @Controller @RequestMapping(name="개별 총정보", value="/sprt/sprt02") class Sprt02Controller extends cokr.xit.fims.sprt.web.Sprt02Controller { @Override - @RequestMapping(name="장애인과태료업무 개별총정보 메인", value=METHOD_URL.indivTotalInfoMain) + @RequestMapping(name="개별총정보 메인", value=METHOD_URL.indivTotalInfoMain) public ModelAndView indivTotalInfoMain(SprtQuery req) { return super.indivTotalInfoMain(req); } 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 4c2ee310..a306b97e 100644 --- a/src/main/java/cokr/xit/fims/task/web/DpvController.java +++ b/src/main/java/cokr/xit/fims/task/web/DpvController.java @@ -339,9 +339,7 @@ public class DpvController { } - @Controller - @RequestMapping(name="장애인과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01") - class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} + @Controller @RequestMapping(name="장애인과태료업무 업무지원_개별총정보", value=CLASS_URL+Sprt02Controller.CLASS_URL) 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 558de467..84b6b91f 100644 --- a/src/main/java/cokr/xit/fims/task/web/EcaController.java +++ b/src/main/java/cokr/xit/fims/task/web/EcaController.java @@ -17,9 +17,6 @@ public class EcaController { - @Controller - @RequestMapping(name="전기차과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01/") - class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} @Controller @RequestMapping(name="전기차과태료업무 업무지원_개별총정보", value=CLASS_URL+Sprt02Controller.CLASS_URL) 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 1ba2e645..7781d2ac 100644 --- a/src/main/java/cokr/xit/fims/task/web/PvsController.java +++ b/src/main/java/cokr/xit/fims/task/web/PvsController.java @@ -20,9 +20,6 @@ public class PvsController { - @Controller - @RequestMapping(name="주정차과태료업무 업무지원_통합조회", value=CLASS_URL+"/sprt/sprt01/") - class Sprt01Controller extends cokr.xit.fims.sprt.web.Sprt01Controller {} @Controller @RequestMapping(name="주정차과태료업무 업무지원_개별총정보", value=CLASS_URL+Sprt02Controller.CLASS_URL)