From 9d27581bb1f3340a060f7eafa267b3b37b1003ea Mon Sep 17 00:00:00 2001 From: jjh Date: Fri, 21 Jul 2023 16:58:58 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=EA=B3=BC=EC=A0=9C=EC=99=B8=20?= =?UTF-8?q?=EB=8F=99=EC=A0=81=20=EA=B2=80=EC=83=89=20=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/fims/excl/Excl01Query.java | 81 ++++++++++++++++--- .../sql/mapper/fims/excl/excl01-mapper.xml | 29 ++++++- .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 37 ++++----- 3 files changed, 114 insertions(+), 33 deletions(-) diff --git a/src/main/java/cokr/xit/fims/excl/Excl01Query.java b/src/main/java/cokr/xit/fims/excl/Excl01Query.java index 4660dba7..b8618f48 100644 --- a/src/main/java/cokr/xit/fims/excl/Excl01Query.java +++ b/src/main/java/cokr/xit/fims/excl/Excl01Query.java @@ -16,8 +16,6 @@ public class Excl01Query extends QueryRequest { private static final long serialVersionUID = 1L; - // - private String callMethod; // 필수 조건 private String sggCd; // 시군구 코드 private String taskSeCd; // 업무 구분 코드 @@ -39,22 +37,19 @@ public class Excl01Query extends QueryRequest { private String schLevyExclSeCd; // 부과 제외 구분 코드 private String schVhrno; // 차량번호 - 단속(TB_CRDN) private String schRtpyrNm; // 납부자 명 - 납부자(TB_PAYER) + // 동적 검색 조건 + private String mainOption; + private String subOption; + private String grid; + private String levyExclSeNm; // 부과 제외 구분 코드 + private String vhrno; // 차량번호 - 단속(TB_CRDN) + private String rtpyrNm; // 납부자 명 - 납부자(TB_PAYER) // private String levyExclId; // 부과 제외 ID private String crdnId; // 단속 ID private String levyExclSeCd; // 부과 제외 구분 코드 - public String getCallMethod() { - return ifEmpty(callMethod, () -> null); - } - - public T setCallMethod(String callMethod) { - this.callMethod = callMethod; - - return self(); - } - public String getSggCd() { return ifEmpty(sggCd, () -> null); } @@ -235,6 +230,68 @@ public class Excl01Query extends QueryRequest { return self(); } + // 동적 검색 조건 + public String getMainOption() { + return ifEmpty(mainOption, () -> null); + } + + public T setMainOption(String mainOption) { + this.mainOption = mainOption; + + return self(); + } + + public String getSubOption() { + return ifEmpty(subOption, () -> null); + } + + public T setSubOption(String subOption) { + this.subOption = subOption; + + return self(); + } + + public String getGrid() { + return ifEmpty(grid, () -> null); + } + + public T setGrid(String grid) { + this.grid = grid; + + return self(); + } + + public String getLevyExclSeNm() { + return ifEmpty(levyExclSeNm, () -> null); + } + + public T setLevyExclSeNm(String levyExclSeNm) { + this.levyExclSeNm = levyExclSeNm; + + return self(); + } + + public String getVhrno() { + return ifEmpty(vhrno, () -> null); + } + + public T setVhrno(String vhrno) { + this.vhrno = vhrno; + + return self(); + } + + public String getRtpyrNm() { + return ifEmpty(rtpyrNm, () -> null); + } + + public T setRtpyrNm(String rtpyrNm) { + this.rtpyrNm = rtpyrNm; + + return self(); + } + + // public String getLevyExclId() { return ifEmpty(levyExclId, () -> null); } diff --git a/src/main/resources/sql/mapper/fims/excl/excl01-mapper.xml b/src/main/resources/sql/mapper/fims/excl/excl01-mapper.xml index 916591d2..7cbdd29c 100644 --- a/src/main/resources/sql/mapper/fims/excl/excl01-mapper.xml +++ b/src/main/resources/sql/mapper/fims/excl/excl01-mapper.xml @@ -71,6 +71,7 @@ , (SELECT FN_GET_CODE_NM('FIM011', D.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM /* 납부자 구분 명 */ , D.RTPYR_NO /* 납부자 번호 */ , D.RTPYR_NM /* 납부자 명 */ + , D.RTPYR_BRDT /* 납부자 생년월일 */ , (SELECT FN_GET_BRDT_FORMAT(D.RTPYR_BRDT, '.') FROM DUAL) AS RTPYR_BRDT_FORMAT /* 납부자 생년월일 */ , D.ZIP /* 우편번호 */ , D.ADDR /* 주소 */ @@ -142,9 +143,6 @@ - - AND ${by} LIKE CONCAT('%', #{term}, '%') /* 동적 검색 */ - @@ -159,6 +157,31 @@ + + + + + + A.LEVY_EXCL_YMD + A.LEVY_EXCL_SE_CD + A.LEVY_EXCL_RSN_CD + A.ETC_CN + E.CVLCPT_RCPT_NO + E.CVLCPT_RCPT_YMD + C.CRDN_YMD + C.VHRNO + C.CRDN_PLC + C.CRDN_STTS_CD + D.RTPYR_NM + D.RTPYR_NO + D.RTPYR_BRDT + + #{term} + + + + + 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 e7827f72..bee9c60c 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 @@ -5,7 +5,6 @@
- <%--h4 id="pageTitle" class="fw-bold py-3 mb-4">페이지 제목 부과제외 @@ -71,7 +70,7 @@
- @@ -83,14 +82,14 @@
- +
- +
@@ -116,6 +115,8 @@
+ +
@@ -185,23 +186,23 @@ - + - - - - - - - - - - - - + + + + + + + + + + + + @@ -227,7 +228,7 @@ - +