From e812d2bbed2a4c998049934bbb44bd49d4da2971 Mon Sep 17 00:00:00 2001 From: jjh Date: Mon, 8 Jan 2024 13:35:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=85=EB=AC=B4=EA=B5=AC=EB=B6=84=EC=97=90?= =?UTF-8?q?=20=EA=B4=80=EB=A0=A8=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/fims/excl/web/Excl01Controller.java | 5 + .../xit/fims/excl/web/Excl02Controller.java | 5 + .../xit/fims/excl/web/Excl03Controller.java | 5 + .../sql/mapper/fims/excl/crdnReReg-mapper.xml | 20 +- .../sql/mapper/fims/excl/levyExcl-mapper.xml | 84 +++---- .../sql/mapper/fims/excl/opnnSbmsn-mapper.xml | 19 +- .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 186 +++++++++++----- .../WEB-INF/jsp/fims/excl/excl02010-main.jsp | 208 ++++++++++++------ .../WEB-INF/jsp/fims/excl/excl03010-main.jsp | 170 ++++++++++---- .../WEB-INF/jsp/fims/sndb/sndb01100-info.jsp | 1 + 10 files changed, 494 insertions(+), 209 deletions(-) diff --git a/src/main/java/cokr/xit/fims/excl/web/Excl01Controller.java b/src/main/java/cokr/xit/fims/excl/web/Excl01Controller.java index b265aa9c..11b8321c 100644 --- a/src/main/java/cokr/xit/fims/excl/web/Excl01Controller.java +++ b/src/main/java/cokr/xit/fims/excl/web/Excl01Controller.java @@ -19,6 +19,7 @@ import cokr.xit.base.file.xls.XLSWriter.Styler; import cokr.xit.base.user.ManagedUser; import cokr.xit.base.web.ApplicationController; import cokr.xit.fims.cmmn.CmmnUtil; +import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.excl.LevyExcl; import cokr.xit.fims.excl.LevyExclQuery; import cokr.xit.fims.excl.service.LevyExclService; @@ -53,6 +54,9 @@ public class Excl01Controller extends ApplicationController { @Resource(name = "levyExclService") protected LevyExclService levyExclService; + @Resource(name = "stngBean") + private StngBean stngBean; + /**부과제외 관리 메인화면(fims/excl/excl01/010-main)을 연다. * * @return /fims/excl/excl01010 @@ -72,6 +76,7 @@ public class Excl01Controller extends ApplicationController { .addObject("pageName", "excl01010") // View(jsp)에서 사용할 id 뒤에 붙일 suffix .addObject("infoPrefix", "levyExcl") // prefix .addObject("sggCd", managedUser.getOrgID()) // 시군구 코드(SGG_CD) + .addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))) .addObject("FIM021List", commonCodes.get("FIM021")) // 부과 제외 구분 코드(LEVY_EXCL_SE_CD) .addObject("FIM022List", commonCodes.get("FIM022")) // 부과 제외 사유 코드(LEVY_EXCL_RSN_CD) .addObject("FIM054List", commonCodes.get("FIM054")) // 업무 구분 코드(TASK_SE_CD) diff --git a/src/main/java/cokr/xit/fims/excl/web/Excl02Controller.java b/src/main/java/cokr/xit/fims/excl/web/Excl02Controller.java index 41d06868..9654adc2 100644 --- a/src/main/java/cokr/xit/fims/excl/web/Excl02Controller.java +++ b/src/main/java/cokr/xit/fims/excl/web/Excl02Controller.java @@ -23,6 +23,7 @@ import cokr.xit.base.file.xls.XLSWriter.Styler; import cokr.xit.base.user.ManagedUser; import cokr.xit.base.web.ApplicationController; import cokr.xit.fims.cmmn.CmmnUtil; +import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.excl.OpnnSbmsn; import cokr.xit.fims.excl.LevyExclQuery; import cokr.xit.fims.excl.service.OpnnSbmsnService; @@ -66,6 +67,9 @@ public class Excl02Controller extends ApplicationController { @Resource(name="fileService") private FileService fileService; + @Resource(name = "stngBean") + private StngBean stngBean; + /**의견제출 대장 관리 메인화면(fims/excl/excl02/010-main)을 연다. * * @return /fims/excl/excl02010 @@ -83,6 +87,7 @@ public class Excl02Controller extends ApplicationController { .addObject("pageName", "excl02010") // View(jsp)에서 사용할 id 뒤에 붙일 suffix .addObject("infoPrefix", "opnnSbmsn") // prefix .addObject("sggCd", managedUser.getOrgID()) // 시군구 코드(SGG_CD) + .addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))) .addObject("FIM031List", commonCodes.get("FIM031")) // 의견 제출 답변 결과(OPNN_SBMSN_STTS_CD) .addObject("FIM033List", commonCodes.get("FIM033")) // 의견제출 구분 코드(OPNN_SBMSN_SE_CD) .addObject("FIM054List", commonCodes.get("FIM054")) // 업무 구분 코드(TASK_SE_CD) diff --git a/src/main/java/cokr/xit/fims/excl/web/Excl03Controller.java b/src/main/java/cokr/xit/fims/excl/web/Excl03Controller.java index 5f22223e..0636e066 100644 --- a/src/main/java/cokr/xit/fims/excl/web/Excl03Controller.java +++ b/src/main/java/cokr/xit/fims/excl/web/Excl03Controller.java @@ -21,6 +21,7 @@ import cokr.xit.base.file.xls.XLSWriter.Styler; import cokr.xit.base.user.ManagedUser; import cokr.xit.base.web.ApplicationController; import cokr.xit.fims.cmmn.CmmnUtil; +import cokr.xit.fims.cmmn.service.bean.StngBean; import cokr.xit.fims.excl.CrdnReReg; import cokr.xit.fims.excl.LevyExclQuery; import cokr.xit.fims.excl.service.CrdnReRegService; @@ -53,6 +54,9 @@ public class Excl03Controller extends ApplicationController { @Resource(name = "crdnReRegService") private CrdnReRegService crdnReRegService; + @Resource(name = "stngBean") + private StngBean stngBean; + /**단속 재등록 관리 메인화면(excl03/excl03-main)을 연다. * * @return /fims/excl/excl03010 @@ -70,6 +74,7 @@ public class Excl03Controller extends ApplicationController { .addObject("pageName", "excl03010") // View(jsp)에서 사용할 id 뒤에 붙일 suffix .addObject("infoPrefix", "crdnReReg") // prefix .addObject("sggCd", managedUser.getOrgID()) // 시군구 코드(SGG_CD) + .addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054"))) .addObject("FIM054List", commonCodes.get("FIM054")) // 업무 구분 코드(TASK_SE_CD) ; } diff --git a/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml b/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml index 45f5367b..4ba86070 100644 --- a/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml +++ b/src/main/resources/sql/mapper/fims/excl/crdnReReg-mapper.xml @@ -49,16 +49,34 @@ , C.FFNLG_AMT /* 과태료 금액 */ , C.ADVNTCE_AMT /* 사전통지 금액 */ , C.CRDN_STTS_CD /* 단속 상태 코드 */ - , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM /* 단속 일시 */ + , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM /* 단속 일시 */ , (SELECT GET_CODE_NM('FIM054', C.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM /* 업무 구분 명 */ , (SELECT GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM /* 단속 입력 구분 명 */ , (SELECT GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM /* 단속 상태 명 */ + , CA.CRDN_SE_CD /* 단속 구분 코드 */ + , CA.CRDN_SPAREA_CD /* 단속 특별구역 코드 */ + , CA.PARKNG_PSBLTY_RSLT_CD /* 주차 가능 결과 코드 */ + , (SELECT GET_CODE_NM('FIM002', CA.CRDN_SE_CD) FROM DUAL) AS CRDN_SE_NM /* 단속 구분 명 */ + , (SELECT GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM /* 단속 특별구역 명 */ + , (SELECT GET_CODE_NM('FIM034', CA.PARKNG_PSBLTY_RSLT_CD) FROM DUAL) AS PARKNG_PSBLTY_RSLT_NM /* 주차 가능 결과 명 */ , V.VLTN_ID /* 위반 ID */ , V.VLTN_CD /* 위반 코드 */ , V.VLTN_ARTCL /* 위반 항목 */ + , P.RTPYR_ID /* 납부자 ID */ + , P.RTPYR_SE_CD /* 납부자 구분 코드 */ + , P.RTPYR_NO /* 납부자 번호 */ + , P.RTPYR_NM /* 납부자 명 */ + , P.RTPYR_BRDT /* 납부자 생년월일 */ + , P.ZIP /* 우편번호 */ + , P.ADDR /* 주소 */ + , P.DTL_ADDR /* 상세 주소 */ + , (SELECT GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM /* 납부자 구분 명 */ + , (SELECT GET_BRDT_FORMAT(P.RTPYR_BRDT, '.') FROM DUAL) AS RTPYR_BRDT_MASK /* 납부자 생년월일 마스크 */ FROM TB_CRDN_RE_REG CRR INNER JOIN TB_CRDN C ON (CRR.CRDN_ID = C.CRDN_ID) + INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID) INNER JOIN TB_VLTN V ON (C.VLTN_ID = V.VLTN_ID) + LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID) /* 의견제출 대장 목록 조회(opnnSbmsnMapper.selectOpnnSbmsnList) */ diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp index decc7d58..b8c4901b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp @@ -39,7 +39,7 @@
- +