우편통합 - 접수결과 상세조회 수정.

main
jjh 11 months ago
parent 55d56348c8
commit 99c88c662d

@ -24,13 +24,9 @@ public class CmmnQuery extends QueryRequest {
private String schRegDateOpt; // 등록 일자 구분 private String schRegDateOpt; // 등록 일자 구분
private String schRegDateFrom; // 등록 일자 시작 private String schRegDateFrom; // 등록 일자 시작
private String schRegDateTo; // 등록 일자 종료 private String schRegDateTo; // 등록 일자 종료
private String schRgtrOpt; // 등록 사용자 구분
private String schDetailCrdnRegDtOpt; // 상세 검색 단속 등록 일자 구분 private String schRgtrCd; // 등록 사용자 코드
private String schDetailCrdnRegDtFrom; // 상세 검색 단속 등록 일자 시작 private String schRgtrNm; // 등록 사용자 명
private String schDetailCrdnRegDtTo; // 상세 검색 단속 등록 일자 종료
private String schDetailCrdnRgtrOpt; // 상세 검색 단속 등록 사용자 구분
private String schDetailCrdnRgtrNm; // 상세 검색 단속 등록 사용자 명
private String schDetailCrdnRgtrCd; // 상세 검색 단속 등록 사용자 코드
public String getMainOption() { public String getMainOption() {
return ifEmpty(mainOption, () -> null); return ifEmpty(mainOption, () -> null);
@ -167,57 +163,30 @@ public class CmmnQuery extends QueryRequest {
return self(); return self();
} }
public String getSchDetailCrdnRegDtOpt() { public String getSchRgtrOpt() {
return ifEmpty(schDetailCrdnRegDtOpt, () -> null); return ifEmpty(schRgtrOpt, () -> null);
}
public <T extends CmmnQuery> T setSchDetailCrdnRegDtOpt(String schDetailCrdnRegDtOpt) {
this.schDetailCrdnRegDtOpt = schDetailCrdnRegDtOpt;
return self();
}
public String getSchDetailCrdnRegDtFrom() {
return ifEmpty(schDetailCrdnRegDtFrom, () -> null);
}
public <T extends CmmnQuery> T setSchDetailCrdnRegDtFrom(String schDetailCrdnRegDtFrom) {
this.schDetailCrdnRegDtFrom = schDetailCrdnRegDtFrom;
return self();
}
public String getSchDetailCrdnRegDtTo() {
return ifEmpty(schDetailCrdnRegDtTo, () -> null);
}
public <T extends CmmnQuery> T setSchDetailCrdnRegDtTo(String schDetailCrdnRegDtTo) {
this.schDetailCrdnRegDtTo = schDetailCrdnRegDtTo;
return self();
}
public String getSchDetailCrdnRgtrOpt() {
return ifEmpty(schDetailCrdnRgtrOpt, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailCrdnRgtrOpt(String schDetailCrdnRgtrOpt) { public <T extends CmmnQuery> T setSchRgtrOpt(String schRgtrOpt) {
this.schDetailCrdnRgtrOpt = schDetailCrdnRgtrOpt; this.schRgtrOpt = schRgtrOpt;
return self(); return self();
} }
public String getSchDetailCrdnRgtrNm() { public String getSchRgtrCd() {
return ifEmpty(schDetailCrdnRgtrNm, () -> null); return ifEmpty(schRgtrCd, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailCrdnRgtrNm(String schDetailCrdnRgtrNm) { public <T extends CmmnQuery> T setSchRgtrCd(String schRgtrCd) {
this.schDetailCrdnRgtrNm = schDetailCrdnRgtrNm; this.schRgtrCd = schRgtrCd;
return self(); return self();
} }
public String getSchDetailCrdnRgtrCd() { public String getSchRgtrNm() {
return ifEmpty(schDetailCrdnRgtrCd, () -> null); return ifEmpty(schRgtrNm, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailCrdnRgtrCd(String schDetailCrdnRgtrCd) { public <T extends CmmnQuery> T setSchRgtrNm(String schRgtrNm) {
this.schDetailCrdnRgtrCd = schDetailCrdnRgtrCd; this.schRgtrNm = schRgtrNm;
return self(); return self();
} }

@ -47,12 +47,7 @@ public class EpostQuery extends CmmnQuery {
private String schExtriRegymdTo; // 전자우편 접수 결과(TB_EPOST_RCPT_RSLT)_기관발송일자 종료 private String schExtriRegymdTo; // 전자우편 접수 결과(TB_EPOST_RCPT_RSLT)_기관발송일자 종료
private String schSndngSeCd; // 발송 구분 코드 private String schSndngSeCd; // 발송 구분 코드
// 상세 검색 조건 // 상세 검색 조건
private String schDetailRegDtOpt; // 상세 검색 등록 일자 구분
private String schDetailRegDtFrom; // 상세 검색 등록 일자 시작
private String schDetailRegDtTo; // 상세 검색 등록 일자 종료
private String schDetailRgtrOpt; // 상세 검색 등록 사용자 구분
private String schDetailRgtrNm; // 상세 검색 등록 사용자 명
private String schDetailRgtrCd; // 상세 검색 등록 사용자 코드
// 동적 검색 조건 // 동적 검색 조건
private String vhrno; // 단속(TB_CRDN)_차량번호 private String vhrno; // 단속(TB_CRDN)_차량번호
private String rtpyrNm; // 납부자(TB_PAYER)_납부자 명 private String rtpyrNm; // 납부자(TB_PAYER)_납부자 명
@ -325,60 +320,8 @@ public class EpostQuery extends CmmnQuery {
} }
// 상세 검색 조건 /////////////////////////////////////////////////////////////// // 상세 검색 조건 ///////////////////////////////////////////////////////////////
public String getSchDetailRegDtOpt() {
return ifEmpty(schDetailRegDtOpt, () -> null);
}
public <T extends EpostQuery> T setSchDetailRegDtOpt(String schDetailRegDtOpt) {
this.schDetailRegDtOpt = schDetailRegDtOpt;
return self();
}
public String getSchDetailRegDtFrom() {
return ifEmpty(schDetailRegDtFrom, () -> null);
}
public <T extends EpostQuery> T setSchDetailRegDtFrom(String schDetailRegDtFrom) {
this.schDetailRegDtFrom = schDetailRegDtFrom;
return self();
}
public String getSchDetailRegDtTo() {
return ifEmpty(schDetailRegDtTo, () -> null);
}
public <T extends EpostQuery> T setSchDetailRegDtTo(String schDetailRegDtTo) {
this.schDetailRegDtTo = schDetailRegDtTo;
return self();
}
public String getSchDetailRgtrOpt() { // 상세 검색 조건 ///////////////////////////////////////////////////////////////
return ifEmpty(schDetailRgtrOpt, () -> null);
}
public <T extends EpostQuery> T setSchDetailRgtrOpt(String schDetailRgtrOpt) {
this.schDetailRgtrOpt = schDetailRgtrOpt;
return self();
}
public String getSchDetailRgtrNm() {
return ifEmpty(schDetailRgtrNm, () -> null);
}
public <T extends EpostQuery> T setSchDetailRgtrNm(String schDetailRgtrNm) {
this.schDetailRgtrNm = schDetailRgtrNm;
return self();
}
public String getSchDetailRgtrCd() {
return ifEmpty(schDetailRgtrCd, () -> null);
}
public <T extends EpostQuery> T setSchDetailRgtrCd(String schDetailRgtrCd) {
this.schDetailRgtrCd = schDetailRgtrCd;
return self();
}
// 상세검색 조건 ///////////////////////////////////////////////////////////////
// 동적 검색 조건 /////////////////////////////////////////////////////////////// // 동적 검색 조건 ///////////////////////////////////////////////////////////////
public String getVhrno() { public String getVhrno() {

@ -67,34 +67,34 @@
AND ERR.RCEPT_YMD <![CDATA[<=]]> #{schRceptYmdTo} /* 접수 일자 종료 */ AND ERR.RCEPT_YMD <![CDATA[<=]]> #{schRceptYmdTo} /* 접수 일자 종료 */
</if> </if>
<choose> <choose>
<when test="schDetailRegDtOpt == 'regDt'"> <when test="schRegDateOpt == 'regDt'">
<if test="schDetailRegDtFrom != null"> <if test="schRegDateFrom != null">
AND SUBSTR(ERR.REG_DT,1,8) <![CDATA[>=]]> #{schDetailRegDtFrom} /* 등록 일자 시작 */ AND SUBSTR(ERR.REG_DT,1,8) <![CDATA[>=]]> #{schRegDateFrom} /* 등록 일자 시작 */
</if> </if>
<if test="schDetailRegDtTo != null"> <if test="schRegDateTo != null">
AND SUBSTR(ERR.REG_DT,1,8) <![CDATA[<=]]> #{schDetailRegDtTo} /* 등록 일자 종료 */ AND SUBSTR(ERR.REG_DT,1,8) <![CDATA[<=]]> #{schRegDateTo} /* 등록 일자 종료 */
</if> </if>
</when> </when>
<when test="schDetailRegDtOpt == 'mdfcnDt'"> <when test="schRegDateOpt == 'mdfcnDt'">
<if test="schDetailRegDtFrom != null"> <if test="schRegDateFrom != null">
AND SUBSTR(ERR.MDFCN_DT,1,8) <![CDATA[>=]]> #{schDetailRegDtFrom} /* 수정 일자 시작 */ AND SUBSTR(ERR.MDFCN_DT,1,8) <![CDATA[>=]]> #{schRegDateFrom} /* 수정 일자 시작 */
</if> </if>
<if test="schDetailRegDtTo != null"> <if test="schRegDateTo != null">
AND SUBSTR(ERR.MDFCN_DT,1,8) <![CDATA[<=]]> #{schDetailRegDtTo} /* 수정 일자 종료 */ AND SUBSTR(ERR.MDFCN_DT,1,8) <![CDATA[<=]]> #{schRegDateTo} /* 수정 일자 종료 */
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose> <choose>
<when test="schDetailRgtrOpt == 'rgtr'"> <when test="schRgtrOpt == 'rgtr'">
<if test="schDetailRgtrCd != null"> <if test="schRgtrCd != null">
AND ERR.RGTR = #{schDetailRgtrCd} /* 등록자 코드 */ AND ERR.RGTR = #{schRgtrCd} /* 등록자 코드 */
</if> </if>
</when> </when>
<when test="schDetailRgtrOpt == 'mdfr'"> <when test="schRgtrOpt == 'mdfr'">
<if test="schDetailRgtrCd != null"> <if test="schRgtrCd != null">
AND ERR.MDFR = #{schDetailRgtrCd} /* 수정자 코드 */ AND ERR.MDFR = #{schRgtrCd} /* 수정자 코드 */
</if> </if>
</when> </when>
<otherwise> <otherwise>
@ -168,34 +168,34 @@
AND RCEPT_YMD <![CDATA[<=]]> #{schRceptYmdTo} /* 접수 일자 종료 */ AND RCEPT_YMD <![CDATA[<=]]> #{schRceptYmdTo} /* 접수 일자 종료 */
</if> </if>
<choose> <choose>
<when test="schDetailRegDtOpt == 'regDt'"> <when test="schRegDateOpt == 'regDt'">
<if test="schDetailRegDtFrom != null"> <if test="schRegDateFrom != null">
AND SUBSTR(REG_DT,1,8) <![CDATA[>=]]> #{schDetailRegDtFrom} /* 등록 일자 시작 */ AND SUBSTR(REG_DT,1,8) <![CDATA[>=]]> #{schRegDateFrom} /* 등록 일자 시작 */
</if> </if>
<if test="schDetailRegDtTo != null"> <if test="schRegDateTo != null">
AND SUBSTR(REG_DT,1,8) <![CDATA[<=]]> #{schDetailRegDtTo} /* 등록 일자 종료 */ AND SUBSTR(REG_DT,1,8) <![CDATA[<=]]> #{schRegDateTo} /* 등록 일자 종료 */
</if> </if>
</when> </when>
<when test="schDetailRegDtOpt == 'mdfcnDt'"> <when test="schRegDateOpt == 'mdfcnDt'">
<if test="schDetailRegDtFrom != null"> <if test="schRegDateFrom != null">
AND SUBSTR(MDFCN_DT,1,8) <![CDATA[>=]]> #{schDetailRegDtFrom} /* 수정 일자 시작 */ AND SUBSTR(MDFCN_DT,1,8) <![CDATA[>=]]> #{schRegDateFrom} /* 수정 일자 시작 */
</if> </if>
<if test="schDetailRegDtTo != null"> <if test="schRegDateTo != null">
AND SUBSTR(MDFCN_DT,1,8) <![CDATA[<=]]> #{schDetailRegDtTo} /* 수정 일자 종료 */ AND SUBSTR(MDFCN_DT,1,8) <![CDATA[<=]]> #{schRegDateTo} /* 수정 일자 종료 */
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose> <choose>
<when test="schDetailRgtrOpt == 'rgtr'"> <when test="schRgtrOpt == 'rgtr'">
<if test="schDetailRgtrCd != null"> <if test="schRgtrCd != null">
AND RGTR = #{schDetailRgtrCd} /* 등록자 코드 */ AND RGTR = #{schRgtrCd} /* 등록자 코드 */
</if> </if>
</when> </when>
<when test="schDetailRgtrOpt == 'mdfr'"> <when test="schRgtrOpt == 'mdfr'">
<if test="schDetailRgtrCd != null"> <if test="schRgtrCd != null">
AND MDFR = #{schDetailRgtrCd} /* 수정자 코드 */ AND MDFR = #{schRgtrCd} /* 수정자 코드 */
</if> </if>
</when> </when>
<otherwise> <otherwise>

@ -86,28 +86,28 @@
<div class="row g-1"> <div class="row g-1">
<!-- 등록일자, 수정일자 --> <!-- 등록일자, 수정일자 -->
<div class="col-6"> <div class="col-6">
<select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt"> <select class="form-select text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<option value="regDt">등록일자</option> <option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option> <option value="mdfcnDt">수정일자</option>
</select> </select>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom" <input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~ ~
<input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo" <input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
data-fmt-type="day" title="종료 날짜 선택"> data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span> </span>
</div> </div>
<!-- 등록자명, 수정자명 --> <!-- 등록자명, 수정자명 -->
<div class="col-6"> <div class="col-6">
<select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt"> <select class="form-select text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
<option value="rgtr">등록자</option> <option value="rgtr">등록자</option>
<option value="mdfr">수정자</option> <option value="mdfr">수정자</option>
</select> </select>
<input type="hidden" id="schDetailRgtrCd--${pageName}" name="schDetailRgtrCd" /> <input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
<input type="text" class="form-control" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" /> <input type="text" class="form-control" id="schRgtrNm--${pageName}" name="schRgtrNm" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색" onclick="fnFindUser${pageName}();"> <button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색" onclick="fnFindUser${pageName}();">
검색 검색
</button> </button>
@ -412,8 +412,8 @@
// //
callbackFindUser${pageName} = (userId, userNm) => { callbackFindUser${pageName} = (userId, userNm) => {
$("#schDetailRgtrCd--${pageName}").val(userId); // $("#schRgtrCd--${pageName}").val(userId); // 사용자 ID
$("#schDetailRgtrNm--${pageName}").val(userNm); // $("#schRgtrNm--${pageName}").val(userNm); // 사용자 명
} }
// 사용자 검색 // 사용자 검색

Loading…
Cancel
Save