From 44f5175a94ce921fe8246d6ecbd3c8a03a2a105e Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Sun, 23 Jun 2024 01:31:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B3=B4=EA=B3=A0=EB=AC=B8=EC=84=9C=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=20=EC=A1=B0=EA=B1=B4=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/adds/nims/DsuseMgtDocQuery.java | 13 +++++++- .../mapper/adds/nims/dsuseMgtDoc-mapper.xml | 7 ++++ .../WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp | 33 ++++++++++++++----- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/src/main/java/cokr/xit/adds/nims/DsuseMgtDocQuery.java b/src/main/java/cokr/xit/adds/nims/DsuseMgtDocQuery.java index 515c956..b34bc87 100644 --- a/src/main/java/cokr/xit/adds/nims/DsuseMgtDocQuery.java +++ b/src/main/java/cokr/xit/adds/nims/DsuseMgtDocQuery.java @@ -14,6 +14,7 @@ public class DsuseMgtDocQuery extends QueryRequest{ private String schDateFrom; // 검색 일자 시작 private String schDateTo; // 검색 일자 종료 private String schBsshCd; // 검색 일자 종료 + private String schSttsCd; // 진행상태 //폐기관리 private String dscdmngId; // 폐기관리 ID @@ -372,5 +373,15 @@ public class DsuseMgtDocQuery extends QueryRequest{ public T setPrmisnNo(String prmisnNo) { this.prmisnNo = prmisnNo; return self(); - } + } + + public String getSchSttsCd() { + return ifEmpty(schSttsCd, () -> null); + } + + public T setSchSttsCd(String schSttsCd) { + this.schSttsCd = schSttsCd; + return self(); + } + } diff --git a/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml b/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml index eb9d116..b0710b5 100644 --- a/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml +++ b/src/main/resources/sql/mapper/adds/nims/dsuseMgtDoc-mapper.xml @@ -56,6 +56,13 @@ AND tdm.bssh_cd = #{schBsshCd} + + AND tdm.prgrs_stts_cd >= '06' + AND tdm.prgrs_stts_cd < '99' + + + AND tdm.prgrs_stts_cd = '99' + GROUP BY tdm.dscdmng_id, tdm.dept_cd, diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp index 9f86685..f20283a 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseDoc-main.jsp @@ -29,6 +29,7 @@ ~ +  취급일자 적용 @@ -43,11 +44,19 @@
- +<%-- --%> +
+ + +
+
+ + +