From 6f82baadb3d5a2e3bdc6b2275d6b17ccd8a165ae Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 12 Mar 2024 16:26:31 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=B5=ED=95=A9=EC=A1=B0=ED=9A=8C=ED=99=94?= =?UTF-8?q?=EB=A9=B4=20=EB=82=A9=EB=B6=80=EC=9E=90=20=EC=83=9D=EB=85=84?= =?UTF-8?q?=EC=9B=94=EC=9D=BC=20=EC=A1=B0=ED=9A=8C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/sprt/SprtQuery.java | 10 ++++++++++ .../sql/mapper/fims/sprt/integrationSearch-mapper.xml | 3 +++ .../webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp | 5 +++++ 3 files changed, 18 insertions(+) diff --git a/src/main/java/cokr/xit/fims/sprt/SprtQuery.java b/src/main/java/cokr/xit/fims/sprt/SprtQuery.java index d6431b23..0046abae 100644 --- a/src/main/java/cokr/xit/fims/sprt/SprtQuery.java +++ b/src/main/java/cokr/xit/fims/sprt/SprtQuery.java @@ -30,6 +30,7 @@ public class SprtQuery extends CmmnQuery { private String vhrno; // 차량번호 private String rtpyrNo; // 납부자 번호 + private String rtpyrBrdt; // 납부자 생일 private String rtpyrNm; // 납부자 명 private String fyr; // 회계연도 private String levyNo; // 부과 번호 @@ -173,6 +174,15 @@ public class SprtQuery extends CmmnQuery { return self(); } + public String getRtpyrBrdt() { + return ifEmpty(rtpyrBrdt, () -> null); + } + + public T setRtpyrBrdt(String rtpyrBrdt) { + this.rtpyrBrdt = rtpyrBrdt; + return self(); + } + public String getRtpyrNm() { return ifEmpty(rtpyrNm, () -> null); } diff --git a/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml b/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml index ae5b6b1c..999132f5 100644 --- a/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sprt/integrationSearch-mapper.xml @@ -214,6 +214,9 @@ LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N AND P.RTPYR_NO = #{item.value} + + AND P.RTPYR_BRDT = #{item.value} AND P.RTPYR_SE_CD = '01' + AND CC.CVLCPT_APLCNT_NM = #{item.value} diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp index 8f09c8e4..abbc4ec2 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp @@ -227,6 +227,11 @@ $(document).ready(function() { return; } + if(query.ischRtpyrNo.length == 6){ + query.ischRtpyrBrdt = query.ischRtpyrNo; + query.ischRtpyrNo = ""; + } + $("#upGridTabs--${pageName}").find("button").not(":eq(0)").removeClass("active"); $("#upGridTabs--${pageName}").find("button").eq(0).addClass("active"); $("#downGridTabs--${pageName}").find("button").not(":eq(0)").removeClass("active");