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");