From 7807c77154ea958fb16d0ba036a177aaaa2885aa Mon Sep 17 00:00:00 2001 From: jjh Date: Thu, 3 Aug 2023 12:21:52 +0900 Subject: [PATCH] =?UTF-8?q?jsp=20=ED=99=94=EB=A9=B4=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20=EB=B0=8F=20=EC=BF=BC=EB=A6=AC=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/fims/excl/Excl01Query.java | 50 +++++++++- .../java/cokr/xit/fims/excl/Excl02Query.java | 94 +++++++++++++++++-- .../java/cokr/xit/fims/excl/Excl03Query.java | 56 +++++++++++ .../sql/mapper/fims/excl/excl01-mapper.xml | 32 +++---- .../sql/mapper/fims/excl/excl02-mapper.xml | 56 +++++------ .../sql/mapper/fims/excl/excl03-mapper.xml | 32 +++---- .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 86 +++++++++-------- .../WEB-INF/jsp/fims/excl/excl02010-main.jsp | 94 ++++++++++--------- .../WEB-INF/jsp/fims/excl/excl03010-main.jsp | 58 ++++++------ 9 files changed, 362 insertions(+), 196 deletions(-) diff --git a/src/main/java/cokr/xit/fims/excl/Excl01Query.java b/src/main/java/cokr/xit/fims/excl/Excl01Query.java index 04cf37f5..cfbca280 100644 --- a/src/main/java/cokr/xit/fims/excl/Excl01Query.java +++ b/src/main/java/cokr/xit/fims/excl/Excl01Query.java @@ -21,7 +21,7 @@ public class Excl01Query extends QueryRequest { private String taskSeCd; // 업무 구분 코드 private String delYn; // 삭제 여부 // ID - private String levyExclIDs; // 부과 제외 ID + private String[] levyExclIDs; // 부과 제외 ID private String levyExclId; // 부과 제외 ID private String crdnId; // 단속 ID // 공통 조건 @@ -38,9 +38,13 @@ public class Excl01Query extends QueryRequest { private String schDetailUserNm; // 상세 검색 사용자 명 private String schDetailUserCd; // 상세 검색 사용자 코드 // 검색 조건 + private String schLevyExclYmdFrom; // 부과 제외 일자 시작 + private String schLevyExclYmdTo; // 부과 제외 일자 종료 private String schLevyExclSeCd; // 부과 제외 구분 코드 private String schVhrno; // 차량번호 - 단속(TB_CRDN) private String schRtpyrNm; // 납부자 명 - 납부자(TB_PAYER) + private String schCrdnYmdFrom; // 단속 일자 시작 + private String schCrdnYmdTo; // 단속 일자 종료 // 동적 검색 조건 private String mainOption; private String subOption; @@ -80,11 +84,11 @@ public class Excl01Query extends QueryRequest { return self(); } - public String getLevyExclIDs() { + public String[] getLevyExclIDs() { return ifEmpty(levyExclIDs, () -> null); } - public T setLevyExclIDs(String levyExclIDs) { + public T setLevyExclIDs(String... levyExclIDs) { this.levyExclIDs = levyExclIDs; return self(); @@ -230,6 +234,26 @@ public class Excl01Query extends QueryRequest { return self(); } + public String getSchLevyExclYmdFrom() { + return ifEmpty(schLevyExclYmdFrom, () -> null); + } + + public T setSchLevyExclYmdFrom(String schLevyExclYmdFrom) { + this.schLevyExclYmdFrom = schLevyExclYmdFrom; + + return self(); + } + + public String getSchLevyExclYmdTo() { + return ifEmpty(schLevyExclYmdTo, () -> null); + } + + public T setSchLevyExclYmdTo(String schLevyExclYmdTo) { + this.schLevyExclYmdTo = schLevyExclYmdTo; + + return self(); + } + public String getSchLevyExclSeCd() { return ifEmpty(schLevyExclSeCd, () -> null); } @@ -260,6 +284,26 @@ public class Excl01Query extends QueryRequest { return self(); } + public String getSchCrdnYmdFrom() { + return ifEmpty(schCrdnYmdFrom, () -> null); + } + + public T setSchCrdnYmdFrom(String schCrdnYmdFrom) { + this.schCrdnYmdFrom = schCrdnYmdFrom; + + return self(); + } + + public String getSchCrdnYmdTo() { + return ifEmpty(schCrdnYmdTo, () -> null); + } + + public T setSchCrdnYmdTo(String schCrdnYmdTo) { + this.schCrdnYmdTo = schCrdnYmdTo; + + return self(); + } + // 동적 검색 조건 /////////////////////////////////////////////////////////////// public String getMainOption() { return ifEmpty(mainOption, () -> null); diff --git a/src/main/java/cokr/xit/fims/excl/Excl02Query.java b/src/main/java/cokr/xit/fims/excl/Excl02Query.java index 22ee2e66..fcad2dda 100644 --- a/src/main/java/cokr/xit/fims/excl/Excl02Query.java +++ b/src/main/java/cokr/xit/fims/excl/Excl02Query.java @@ -21,7 +21,7 @@ public class Excl02Query extends QueryRequest { private String taskSeCd; // 업무 구분 코드 private String delYn; // 삭제 여부 // ID - private String opnnIDs; // 의견 제출 ID + private String[] opnnIDs; // 의견 제출 ID private String opnnId; // 의견 제출 ID private String crdnId; // 단속 ID // 공통 조건 @@ -38,9 +38,16 @@ public class Excl02Query extends QueryRequest { private String schDetailUserNm; // 상세 검색 사용자 명 private String schDetailUserCd; // 상세 검색 사용자 코드 // 검색 조건 + private String schRcptYmdFrom; // 의견제출 접수 일자 시작 + private String schRcptYmdTo; // 의견제출 접수 일자 종료 + private String schAnsYmdFrom; // 의견제출 답변 일자 시작 + private String schAnsYmdTo; // 의견제출 답변 일자 종료 private String schOpnnSbmsnSttsCd; // 의견 제출 상태 코드 - private String schVhrno; // 차량번호 - 단속(TB_CRDN) private String schSttrNm; // 진술자 명 + private String schVhrno; // 차량번호 - 단속(TB_CRDN) + private String schRtpyrNm; // 납부자 명 - 납부자(TB_PAYER) + private String schCrdnYmdFrom; // 단속 일자 시작 - 단속(TB_CRDN) + private String schCrdnYmdTo; // 단속 일자 종료 - 단속(TB_CRDN) // 동적 검색 조건 private String mainOption; private String subOption; @@ -75,17 +82,16 @@ public class Excl02Query extends QueryRequest { return self(); } - public String getOpnnIDs() { + public String[] getOpnnIDs() { return ifEmpty(opnnIDs, () -> null); } - public T setOpnnIDs(String opnnIDs) { + public T setOpnnIDs(String... opnnIDs) { this.opnnIDs = opnnIDs; return self(); } - public String getOpnnId() { return ifEmpty(opnnId, () -> null); } @@ -226,6 +232,46 @@ public class Excl02Query extends QueryRequest { return self(); } + public String getSchRcptYmdFrom() { + return ifEmpty(schRcptYmdFrom, () -> null); + } + + public T setSchRcptYmdFrom(String schRcptYmdFrom) { + this.schRcptYmdFrom = schRcptYmdFrom; + + return self(); + } + + public String getSchRcptYmdTo() { + return ifEmpty(schRcptYmdTo, () -> null); + } + + public T setSchRcptYmdTo(String schRcptYmdTo) { + this.schRcptYmdTo = schRcptYmdTo; + + return self(); + } + + public String getSchAnsYmdFrom() { + return ifEmpty(schAnsYmdFrom, () -> null); + } + + public T setSchAnsYmdFrom(String schAnsYmdFrom) { + this.schAnsYmdFrom = schAnsYmdFrom; + + return self(); + } + + public String getSchAnsYmdTo() { + return ifEmpty(schAnsYmdTo, () -> null); + } + + public T setSchAnsYmdTo(String schAnsYmdTo) { + this.schAnsYmdTo = schAnsYmdTo; + + return self(); + } + public String getSchOpnnSbmsnSttsCd() { return ifEmpty(schOpnnSbmsnSttsCd, () -> null); } @@ -236,6 +282,16 @@ public class Excl02Query extends QueryRequest { return self(); } + public String getSchSttrNm() { + return ifEmpty(schSttrNm, () -> null); + } + + public T setSchSttrNm(String schSttrNm) { + this.schSttrNm = schSttrNm; + + return self(); + } + public String getSchVhrno() { return ifEmpty(schVhrno, () -> null); } @@ -246,12 +302,32 @@ public class Excl02Query extends QueryRequest { return self(); } - public String getSchSttrNm() { - return ifEmpty(schSttrNm, () -> null); + public String getSchRtpyrNm() { + return ifEmpty(schRtpyrNm, () -> null); } - public T setSchSttrNm(String schSttrNm) { - this.schSttrNm = schSttrNm; + public T setSchRtpyrNm(String schRtpyrNm) { + this.schRtpyrNm = schRtpyrNm; + + return self(); + } + + public String getSchCrdnYmdFrom() { + return ifEmpty(schCrdnYmdFrom, () -> null); + } + + public T setSchCrdnYmdFrom(String schCrdnYmdFrom) { + this.schCrdnYmdFrom = schCrdnYmdFrom; + + return self(); + } + + public String getSchCrdnYmdTo() { + return ifEmpty(schCrdnYmdTo, () -> null); + } + + public T setSchCrdnYmdTo(String schCrdnYmdTo) { + this.schCrdnYmdTo = schCrdnYmdTo; return self(); } diff --git a/src/main/java/cokr/xit/fims/excl/Excl03Query.java b/src/main/java/cokr/xit/fims/excl/Excl03Query.java index 1d006281..93b2acbb 100644 --- a/src/main/java/cokr/xit/fims/excl/Excl03Query.java +++ b/src/main/java/cokr/xit/fims/excl/Excl03Query.java @@ -21,6 +21,7 @@ public class Excl03Query extends QueryRequest { private String taskSeCd; // 업무 구분 코드 private String delYn; // 삭제 여부 // ID + private String[] reRegIDs; // 재등록 ID private String reRegId; // 재등록 ID private String crdnId; // 단속 ID @@ -32,7 +33,11 @@ public class Excl03Query extends QueryRequest { private String schDetailUserNm; // 상세 검색 사용자 명 private String schDetailUserCd; // 상세 검색 사용자 코드 // 검색 조건 + private String schReRegYmdFrom; // 재등록 일자 시작 + private String schReRegYmdTo; // 재등록 일자 종료 private String schVhrno; // 차량번호 - 단속(TB_CRDN) + private String schCrdnYmdFrom; // 단속 일자 시작 - 단속(TB_CRDN) + private String schCrdnYmdTo; // 단속 일자 종료 - 단속(TB_CRDN) // 동적 검색 조건 private String mainOption; private String subOption; @@ -66,6 +71,17 @@ public class Excl03Query extends QueryRequest { return self(); } + + public String[] getReRegIDs() { + return ifEmpty(reRegIDs, () -> null); + } + + public T setReRegIDs(String... reRegIDs) { + this.reRegIDs = reRegIDs; + + return self(); + } + public String getReRegId() { return ifEmpty(reRegId, () -> null); } @@ -146,6 +162,26 @@ public class Excl03Query extends QueryRequest { return self(); } + public String getSchReRegYmdFrom() { + return ifEmpty(schReRegYmdFrom, () -> null); + } + + public T setSchReRegYmdFrom(String schReRegYmdFrom) { + this.schReRegYmdFrom = schReRegYmdFrom; + + return self(); + } + + public String getSchReRegYmdTo() { + return ifEmpty(schReRegYmdTo, () -> null); + } + + public T setSchReRegYmdTo(String schReRegYmdTo) { + this.schReRegYmdTo = schReRegYmdTo; + + return self(); + } + public String getSchVhrno() { return ifEmpty(schVhrno, () -> null); } @@ -156,6 +192,26 @@ public class Excl03Query extends QueryRequest { return self(); } + public String getSchCrdnYmdFrom() { + return ifEmpty(schCrdnYmdFrom, () -> null); + } + + public T setSchCrdnYmdFrom(String schCrdnYmdFrom) { + this.schCrdnYmdFrom = schCrdnYmdFrom; + + return self(); + } + + public String getSchCrdnYmdTo() { + return ifEmpty(schCrdnYmdTo, () -> null); + } + + public T setSchCrdnYmdTo(String schCrdnYmdTo) { + this.schCrdnYmdTo = schCrdnYmdTo; + + return self(); + } + // 동적 검색 조건 /////////////////////////////////////////////////////////////// public String getMainOption() { return ifEmpty(mainOption, () -> 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 4282fbac..1749597d 100644 --- a/src/main/resources/sql/mapper/fims/excl/excl01-mapper.xml +++ b/src/main/resources/sql/mapper/fims/excl/excl01-mapper.xml @@ -94,26 +94,18 @@ WHERE A.DEL_YN = 'N' /* 삭제 여부 */ AND C.SGG_CD = #{sggCd} /* 시군구 코드 */ AND C.TASK_SE_CD = #{taskSeCd} /* 업무 구분 코드 */ - - - - AND A.LEVY_EXCL_YMD = ]]> #{schDateFrom} /* 부과제외 일자 시작 */ - - - AND A.LEVY_EXCL_YMD #{schDateTo} /* 부과제외 일자 종료 */ - - - - - AND C.CRDN_YMD = ]]> #{schDateFrom} /* 단속 일자 시작 */ - - - AND C.CRDN_YMD #{schDateTo} /* 단속 일자 종료 */ - - - - - + + AND A.LEVY_EXCL_YMD = ]]> #{schLevyExclYmdFrom} /* 부과제외 일자 시작 */ + + + AND A.LEVY_EXCL_YMD #{schLevyExclYmdTo} /* 부과제외 일자 종료 */ + + + AND C.CRDN_YMD = ]]> #{schCrdnYmdFrom} /* 단속 일자 시작 */ + + + AND C.CRDN_YMD #{schCrdnYmdTo} /* 단속 일자 종료 */ + AND A.LEVY_EXCL_SE_CD = #{schLevyExclSeCd} /* 부과 제외 구분 코드 */ diff --git a/src/main/resources/sql/mapper/fims/excl/excl02-mapper.xml b/src/main/resources/sql/mapper/fims/excl/excl02-mapper.xml index 96b6f8e0..9e4a8e83 100644 --- a/src/main/resources/sql/mapper/fims/excl/excl02-mapper.xml +++ b/src/main/resources/sql/mapper/fims/excl/excl02-mapper.xml @@ -126,45 +126,35 @@ - - - - -
+
+ - ~ -
+ +<%-- + + + +<%-- + + + + -
+
-
-
- @@ -78,35 +86,40 @@
-
+
-
-
-
+
-
-
+ +
+ + + + + ~ + + + +
-
+
- -
-
+ - -
-
+
@@ -118,13 +131,11 @@