통합조회화면 납부자 생년월일 조회 추가

main
이범준 8 months ago
parent d4900a8fd3
commit 6f82baadb3

@ -30,6 +30,7 @@ public class SprtQuery extends CmmnQuery {
private String vhrno; // 차량번호 private String vhrno; // 차량번호
private String rtpyrNo; // 납부자 번호 private String rtpyrNo; // 납부자 번호
private String rtpyrBrdt; // 납부자 생일
private String rtpyrNm; // 납부자 명 private String rtpyrNm; // 납부자 명
private String fyr; // 회계연도 private String fyr; // 회계연도
private String levyNo; // 부과 번호 private String levyNo; // 부과 번호
@ -173,6 +174,15 @@ public class SprtQuery extends CmmnQuery {
return self(); return self();
} }
public String getRtpyrBrdt() {
return ifEmpty(rtpyrBrdt, () -> null);
}
public <T extends SprtQuery> T setRtpyrBrdt(String rtpyrBrdt) {
this.rtpyrBrdt = rtpyrBrdt;
return self();
}
public String getRtpyrNm() { public String getRtpyrNm() {
return ifEmpty(rtpyrNm, () -> null); return ifEmpty(rtpyrNm, () -> null);
} }

@ -214,6 +214,9 @@ LEFT OUTER JOIN TB_RCVMT R ON (L.LEVY_ID = R.LEVY_ID AND R.DEL_YN = 'N
<when test="item.name == 'rtpyrNo'"> <when test="item.name == 'rtpyrNo'">
AND P.RTPYR_NO = #{item.value} AND P.RTPYR_NO = #{item.value}
</when> </when>
<when test="item.name == 'rtpyrBrdt'">
AND P.RTPYR_BRDT = #{item.value} AND P.RTPYR_SE_CD = '01'
</when>
<when test="item.name == 'cvlcptAplcntNm'"> <when test="item.name == 'cvlcptAplcntNm'">
AND CC.CVLCPT_APLCNT_NM = #{item.value} AND CC.CVLCPT_APLCNT_NM = #{item.value}
</when> </when>

@ -227,6 +227,11 @@ $(document).ready(function() {
return; 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").not(":eq(0)").removeClass("active");
$("#upGridTabs--${pageName}").find("button").eq(0).addClass("active"); $("#upGridTabs--${pageName}").find("button").eq(0).addClass("active");
$("#downGridTabs--${pageName}").find("button").not(":eq(0)").removeClass("active"); $("#downGridTabs--${pageName}").find("button").not(":eq(0)").removeClass("active");

Loading…
Cancel
Save