단속관리 조회조건 추가(세외수입 전송 상태)

main
이범준 4 months ago
parent dd8ea77f4b
commit 2e5ec16dec

@ -73,6 +73,7 @@ public class CrdnQuery extends CmmnQuery {
private String vhrno;
private String cvlcptPrcsPicNm;
private String teamNm;
private String nxrpSendStts;
public String getGridType() {
return ifEmpty(gridType, () -> null);
@ -434,4 +435,13 @@ public class CrdnQuery extends CmmnQuery {
return self();
}
public String getNxrpSendStts() {
return ifEmpty(nxrpSendStts, () -> null);
}
public <T extends CrdnQuery> T setNxrpSendStts(String nxrpSendStts) {
this.nxrpSendStts = nxrpSendStts;
return self();
}
}

@ -151,6 +151,17 @@ AND CA.TOWNG_YN = #{towngYn}
<if test="schRgtrCd != null"> AND C.MDFR = #{schRgtrCd} </if>
</if>
</if>
<if test="nxrpSendStts != null">
<if test="nxrpSendStts == '01'">
AND C.NXRP_CRDN_LINK_YN = 'N' AND C.ATCH_FILE_CNT != 0 AND C.ATCH_FILE_CNT IS NOT NULL
</if>
<if test="nxrpSendStts == '02'">
AND C.NXRP_CRDN_LINK_YN = 'Y'
</if>
<if test="nxrpSendStts == '03'">
AND C.NXRP_CRDN_LINK_YN = 'N' AND (C.ATCH_FILE_CNT = 0 OR C.ATCH_FILE_CNT IS NULL)
</if>
</if>
<if test="by != null and by != '' and term != null">
<choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">

@ -108,6 +108,20 @@
</c:forEach>
</select>
</div>
<div slot="search" id="searchForNxrp--${pageName}" class="col-6 if-empty-col0">
<template class="pvs bpv">
<slot>
<label class="form-label fw-bold form-search-title w-px-120 text-end"
for="nxrpSendStts--${pageName}">세외수입 전송 상태</label>
<select id="nxrpSendStts--${pageName}" name="nxrpSendStts" class="form-select">
<option value="">전체</option>
<option value="01">전송가능</option>
<option value="02">전송완료</option>
<option value="03">전송불가(사진없음)</option>
</select>
</slot>
</template>
</div>
<div class="col-12"></div>
<!-- 등록일자, 수정일자 -->
<div class="col-6">
@ -383,6 +397,7 @@ $(document).ready(function(){
if(SYS_LINK_INFO = null || SYS_LINK_INFO.NXRP_LINK_YN != 'Y'){
$("#btnSendCrdn--${pageName}").attr("hidden","hidden");
$("#searchForNxrp--${pageName}").attr("hidden","hidden");
} else {
$("#btnSendCrdn--${pageName}").prop("disabled", true);
}

Loading…
Cancel
Save