1. 사전통지 발송 대상 추가.

2. 주석 수정.
3. 상세검색 수정.
main
jjh 1 year ago
parent 8554514f79
commit 4e8c6d762c

@ -20,12 +20,13 @@ 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 schDetailDateOpt; // 상세 검색 일자 구분
private String schDetailDateFrom; // 상세 검색 일자 시작 private String schDetailCrdnRegDtOpt; // 상세 검색 단속 등록 일자 구분
private String schDetailDateTo; // 상세 검색 일자 종료 private String schDetailCrdnRegDtFrom; // 상세 검색 단속 등록 일자 시작
private String schDetailUserOpt; // 상세 검색 사용자 구분 private String schDetailCrdnRegDtTo; // 상세 검색 단속 등록 일자 종료
private String schDetailUserNm; // 상세 검색 사용자 명 private String schDetailCrdnRgtrOpt; // 상세 검색 단속 등록 사용자 구분
private String schDetailUserCd; // 상세 검색 사용자 코드 private String schDetailCrdnRgtrNm; // 상세 검색 단속 등록 사용자 명
private String schDetailCrdnRgtrCd; // 상세 검색 단속 등록 사용자 코드
public String getMainOption() { public String getMainOption() {
return ifEmpty(mainOption, () -> null); return ifEmpty(mainOption, () -> null);
@ -126,57 +127,57 @@ public class CmmnQuery extends QueryRequest {
return self(); return self();
} }
public String getSchDetailDateOpt() { public String getSchDetailCrdnRegDtOpt() {
return ifEmpty(schDetailDateOpt, () -> null); return ifEmpty(schDetailCrdnRegDtOpt, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailDateOpt(String schDetailDateOpt) { public <T extends CmmnQuery> T setSchDetailCrdnRegDtOpt(String schDetailCrdnRegDtOpt) {
this.schDetailDateOpt = schDetailDateOpt; this.schDetailCrdnRegDtOpt = schDetailCrdnRegDtOpt;
return self(); return self();
} }
public String getSchDetailDateFrom() { public String getSchDetailCrdnRegDtFrom() {
return ifEmpty(schDetailDateFrom, () -> null); return ifEmpty(schDetailCrdnRegDtFrom, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailDateFrom(String schDetailDateFrom) { public <T extends CmmnQuery> T setSchDetailCrdnRegDtFrom(String schDetailCrdnRegDtFrom) {
this.schDetailDateFrom = schDetailDateFrom; this.schDetailCrdnRegDtFrom = schDetailCrdnRegDtFrom;
return self(); return self();
} }
public String getSchDetailDateTo() { public String getSchDetailCrdnRegDtTo() {
return ifEmpty(schDetailDateTo, () -> null); return ifEmpty(schDetailCrdnRegDtTo, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailDateTo(String schDetailDateTo) { public <T extends CmmnQuery> T setSchDetailCrdnRegDtTo(String schDetailCrdnRegDtTo) {
this.schDetailDateTo = schDetailDateTo; this.schDetailCrdnRegDtTo = schDetailCrdnRegDtTo;
return self(); return self();
} }
public String getSchDetailUserOpt() { public String getSchDetailCrdnRgtrOpt() {
return ifEmpty(schDetailUserOpt, () -> null); return ifEmpty(schDetailCrdnRgtrOpt, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailUserOpt(String schDetailUserOpt) { public <T extends CmmnQuery> T setSchDetailCrdnRgtrOpt(String schDetailCrdnRgtrOpt) {
this.schDetailUserOpt = schDetailUserOpt; this.schDetailCrdnRgtrOpt = schDetailCrdnRgtrOpt;
return self(); return self();
} }
public String getSchDetailUserNm() { public String getSchDetailCrdnRgtrNm() {
return ifEmpty(schDetailUserNm, () -> null); return ifEmpty(schDetailCrdnRgtrNm, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailUserNm(String schDetailUserNm) { public <T extends CmmnQuery> T setSchDetailCrdnRgtrNm(String schDetailCrdnRgtrNm) {
this.schDetailUserNm = schDetailUserNm; this.schDetailCrdnRgtrNm = schDetailCrdnRgtrNm;
return self(); return self();
} }
public String getSchDetailUserCd() { public String getSchDetailCrdnRgtrCd() {
return ifEmpty(schDetailUserCd, () -> null); return ifEmpty(schDetailCrdnRgtrCd, () -> null);
} }
public <T extends CmmnQuery> T setSchDetailUserCd(String schDetailUserCd) { public <T extends CmmnQuery> T setSchDetailCrdnRgtrCd(String schDetailCrdnRgtrCd) {
this.schDetailUserCd = schDetailUserCd; this.schDetailCrdnRgtrCd = schDetailCrdnRgtrCd;
return self(); return self();
} }

@ -17,41 +17,48 @@ public class ExclQuery extends CmmnQuery {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
// ID // ID
private String crdnId; // 단속 ID private String crdnId; // 단속 ID
private String[] levyExclIDs; // 부과제외 IDs private String[] levyExclIDs; // 부과제외 IDs
private String levyExclId; // 부과제외 ID private String levyExclId; // 부과제외 ID
private String[] opnnIDs; // 의견제출 ID private String[] opnnIDs; // 의견제출 ID
private String opnnId; // 의견제출 ID private String opnnId; // 의견제출 ID
private String[] reRegIDs; // 재등록 IDs private String[] reRegIDs; // 재등록 IDs
private String reRegId; // 재등록 ID private String reRegId; // 재등록 ID
// 검색 조건 // 검색 조건
private String schLevyExclYmdFrom; // 부과제외_부과제외 일자 시작 private String schLevyExclYmdFrom; // 부과제외_부과제외 일자 시작
private String schLevyExclYmdTo; // 부과제외_부과제외 일자 종료 private String schLevyExclYmdTo; // 부과제외_부과제외 일자 종료
private String schLevyExclSeCd; // 부과제외_부과제외 구분 코드 private String schLevyExclSeCd; // 부과제외_부과제외 구분 코드
private String schRcptYmdFrom; // 의견제출_접수 일자 시작 private String schRcptYmdFrom; // 의견제출_접수 일자 시작
private String schRcptYmdTo; // 의견제출_접수 일자 종료 private String schRcptYmdTo; // 의견제출_접수 일자 종료
private String schAnsYmdFrom; // 의견제출_답변 일자 시작 private String schAnsYmdFrom; // 의견제출_답변 일자 시작
private String schAnsYmdTo; // 의견제출_답변 일자 종료 private String schAnsYmdTo; // 의견제출_답변 일자 종료
private String schOpnnSbmsnSttsCd; // 의견제출_의견 제출 상태 코드 private String schOpnnSbmsnSttsCd; // 의견제출_의견 제출 상태 코드
private String schSttrNm; // 의견제출_진술자 명 private String schSttrNm; // 의견제출_진술자 명
private String schReRegYmdFrom; // 단속재등록_재등록 일자 시작 private String schReRegYmdFrom; // 단속재등록_재등록 일자 시작
private String schReRegYmdTo; // 단속재등록_재등록 일자 종료 private String schReRegYmdTo; // 단속재등록_재등록 일자 종료
private String schVhrno; // 단속(TB_CRDN)_차량번호 private String schVhrno; // 단속(TB_CRDN)_차량번호
private String schCrdnYmdFrom; // 단속(TB_CRDN)_단속 일자 시작 private String schCrdnYmdFrom; // 단속(TB_CRDN)_단속 일자 시작
private String schCrdnYmdTo; // 단속(TB_CRDN)_단속 일자 종료 private String schCrdnYmdTo; // 단속(TB_CRDN)_단속 일자 종료
private String schRtpyrNm; // 납부자(TB_PAYER)_납부자 명 private String schRtpyrNm; // 납부자(TB_PAYER)_납부자 명
// 상세 검색 조건
private String schDetailRegDtOpt; // 상세 검색 등록 일자 구분
private String schDetailRegDtFrom; // 상세 검색 등록 일자 시작
private String schDetailRegDtTo; // 상세 검색 등록 일자 종료
private String schDetailRgtrOpt; // 상세 검색 등록 사용자 구분
private String schDetailRgtrNm; // 상세 검색 등록 사용자 명
private String schDetailRgtrCd; // 상세 검색 등록 사용자 코드
// 동적 검색 조건 // 동적 검색 조건
private String levyExclSeCd; // 부과제외_부과 제외 구분 코드 private String levyExclSeCd; // 부과제외_부과 제외 구분 코드
private String levyExclSeNm; // 부과제외_부과 제외 구분 명 private String levyExclSeNm; // 부과제외_부과 제외 구분 명
private String vhrno; // 단속(TB_CRDN)_차량번호 private String vhrno; // 단속(TB_CRDN)_차량번호
private String rtpyrNm; // 납부자(TB_PAYER)_납부자 명 private String rtpyrNm; // 납부자(TB_PAYER)_납부자 명
// ETC // ETC
private String callPurpose; // 자료 조회시 호출용도. (view 조회, create 등록, update 수정, refresh 재조회) private String callPurpose; // 자료 조회시 호출용도. (view 조회, create 등록, update 수정, refresh 재조회)
private String delYn; // 삭제 여부 private String delYn; // 삭제 여부
private String delRsn; // 삭제 사유 private String delRsn; // 삭제 사유
private String crdnDelYn; // 단속 삭제 여부 private String crdnDelYn; // 단속 삭제 여부
private String ansRsnCd; // 민원 답변 문구(TB_CVLCPT_ANS_WORDS) - 답변 사유 코드 private String ansRsnCd; // 민원 답변 문구(TB_CVLCPT_ANS_WORDS) - 답변 사유 코드
private String sndngRcvmtCd; // 발송 수납 코드 private String sndngRcvmtCd; // 발송 수납 코드
public String getCrdnId() { public String getCrdnId() {
return ifEmpty(crdnId, () -> null); return ifEmpty(crdnId, () -> null);
@ -273,6 +280,62 @@ public class ExclQuery extends CmmnQuery {
return self(); return self();
} }
// 상세 검색 조건 ///////////////////////////////////////////////////////////////
public String getSchDetailRegDtOpt() {
return ifEmpty(schDetailRegDtOpt, () -> null);
}
public <T extends ExclQuery> T setSchDetailRegDtOpt(String schDetailRegDtOpt) {
this.schDetailRegDtOpt = schDetailRegDtOpt;
return self();
}
public String getSchDetailRegDtFrom() {
return ifEmpty(schDetailRegDtFrom, () -> null);
}
public <T extends ExclQuery> T setSchDetailRegDtFrom(String schDetailRegDtFrom) {
this.schDetailRegDtFrom = schDetailRegDtFrom;
return self();
}
public String getSchDetailRegDtTo() {
return ifEmpty(schDetailRegDtTo, () -> null);
}
public <T extends ExclQuery> T setSchDetailRegDtTo(String schDetailRegDtTo) {
this.schDetailRegDtTo = schDetailRegDtTo;
return self();
}
public String getSchDetailRgtrOpt() {
return ifEmpty(schDetailRgtrOpt, () -> null);
}
public <T extends ExclQuery> T setSchDetailRgtrOpt(String schDetailRgtrOpt) {
this.schDetailRgtrOpt = schDetailRgtrOpt;
return self();
}
public String getSchDetailRgtrNm() {
return ifEmpty(schDetailRgtrNm, () -> null);
}
public <T extends ExclQuery> T setSchDetailRgtrNm(String schDetailRgtrNm) {
this.schDetailRgtrNm = schDetailRgtrNm;
return self();
}
public String getSchDetailRgtrCd() {
return ifEmpty(schDetailRgtrCd, () -> null);
}
public <T extends ExclQuery> T setSchDetailRgtr(String schDetailRgtrCd) {
this.schDetailRgtrCd = schDetailRgtrCd;
return self();
}
// 상세검색 조건 ///////////////////////////////////////////////////////////////
// 동적 검색 조건 /////////////////////////////////////////////////////////////// // 동적 검색 조건 ///////////////////////////////////////////////////////////////
public String getLevyExclSeNm() { public String getLevyExclSeNm() {
return ifEmpty(levyExclSeNm, () -> null); return ifEmpty(levyExclSeNm, () -> null);

@ -1,6 +1,7 @@
package cokr.xit.fims.sndb; package cokr.xit.fims.sndb;
import cokr.xit.fims.cmmn.CmmnQuery; import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.excl.ExclQuery;
/** /**
* *
@ -17,34 +18,41 @@ public class SndbQuery extends CmmnQuery {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
// ID // ID
private String[] crdnIDs; // 단속 IDs private String[] crdnIDs; // 단속 IDs
private String crdnId; // 단속 ID private String crdnId; // 단속 ID
private String[] sndngIDs; // 발송 IDs private String[] sndngIDs; // 발송 IDs
private String sndngId; // 발송 ID private String sndngId; // 발송 ID
private String[] sndngDtlIDs; // 발송 상세 IDs private String[] sndngDtlIDs; // 발송 상세 IDs
private String sndngDtlId; // 발송 상세 ID private String sndngDtlId; // 발송 상세 ID
private String[] svbtcIDs; // 공시송달 IDs private String[] svbtcIDs; // 공시송달 IDs
private String svbtcId; // 공시송달 ID private String svbtcId; // 공시송달 ID
// 검색 조건 // 검색 조건
private String schLevyExclYmdFrom; // 부과제외_부과제외 일자 시작 private String schLevyExclYmdFrom; // 부과제외_부과제외 일자 시작
private String schLevyExclYmdTo; // 부과제외_부과제외 일자 종료 private String schLevyExclYmdTo; // 부과제외_부과제외 일자 종료
private String schLevyExclSeCd; // 부과제외_부과제외 구분 코드 private String schLevyExclSeCd; // 부과제외_부과제외 구분 코드
private String schVhrno; // 단속(TB_CRDN)_차량번호 private String schVhrno; // 단속(TB_CRDN)_차량번호
private String schCrdnYmdFrom; // 단속(TB_CRDN)_단속 일자 시작 private String schCrdnYmdFrom; // 단속(TB_CRDN)_단속 일자 시작
private String schCrdnYmdTo; // 단속(TB_CRDN)_단속 일자 종료 private String schCrdnYmdTo; // 단속(TB_CRDN)_단속 일자 종료
private String schRtpyrNm; // 납부자(TB_PAYER)_납부자 명 private String schRtpyrNm; // 납부자(TB_PAYER)_납부자 명
// 상세 검색 조건
private String schDetailRegDtOpt; // 상세 검색 등록 일자 구분
private String schDetailRegDtFrom; // 상세 검색 등록 일자 시작
private String schDetailRegDtTo; // 상세 검색 등록 일자 종료
private String schDetailRgtrOpt; // 상세 검색 등록 사용자 구분
private String schDetailRgtrNm; // 상세 검색 등록 사용자 명
private String schDetailRgtrCd; // 상세 검색 등록 사용자 코드
// 동적 검색 조건 // 동적 검색 조건
private String levyExclSeCd; // 부과제외_부과 제외 구분 코드 private String levyExclSeCd; // 부과제외_부과 제외 구분 코드
private String levyExclSeNm; // 부과제외_부과 제외 구분 명 private String levyExclSeNm; // 부과제외_부과 제외 구분 명
private String vhrno; // 단속(TB_CRDN)_차량번호 private String vhrno; // 단속(TB_CRDN)_차량번호
private String rtpyrNm; // 납부자(TB_PAYER)_납부자 명 private String rtpyrNm; // 납부자(TB_PAYER)_납부자 명
private String crdnSttsCd; // 단속(TB_CRDN)_단속 상태 코드 private String crdnSttsCd; // 단속(TB_CRDN)_단속 상태 코드
private String sndngSeCd; // 발송 구분 코드 private String sndngSeCd; // 발송 구분 코드
// ETC // ETC
private String callPurpose; // 자료 조회시 호출용도. (view 조회, create 등록, update 수정, refresh 재조회) private String callPurpose; // 자료 조회시 호출용도. (view 조회, create 등록, update 수정, refresh 재조회)
private String delYn; // 삭제 여부 private String delYn; // 삭제 여부
private String delRsn; // 삭제 사유 private String delRsn; // 삭제 사유
private String crdnDelYn; // 단속 삭제 여부 private String crdnDelYn; // 단속 삭제 여부
public String[] getCrdnIDs() { public String[] getCrdnIDs() {
return ifEmpty(crdnIDs, () -> null); return ifEmpty(crdnIDs, () -> null);
@ -196,6 +204,62 @@ public class SndbQuery extends CmmnQuery {
return self(); return self();
} }
// 상세 검색 조건 ///////////////////////////////////////////////////////////////
public String getSchDetailRegDtOpt() {
return ifEmpty(schDetailRegDtOpt, () -> null);
}
public <T extends ExclQuery> T setSchDetailRegDtOpt(String schDetailRegDtOpt) {
this.schDetailRegDtOpt = schDetailRegDtOpt;
return self();
}
public String getSchDetailRegDtFrom() {
return ifEmpty(schDetailRegDtFrom, () -> null);
}
public <T extends ExclQuery> T setSchDetailRegDtFrom(String schDetailRegDtFrom) {
this.schDetailRegDtFrom = schDetailRegDtFrom;
return self();
}
public String getSchDetailRegDtTo() {
return ifEmpty(schDetailRegDtTo, () -> null);
}
public <T extends ExclQuery> T setSchDetailRegDtTo(String schDetailRegDtTo) {
this.schDetailRegDtTo = schDetailRegDtTo;
return self();
}
public String getSchDetailRgtrOpt() {
return ifEmpty(schDetailRgtrOpt, () -> null);
}
public <T extends ExclQuery> T setSchDetailRgtrOpt(String schDetailRgtrOpt) {
this.schDetailRgtrOpt = schDetailRgtrOpt;
return self();
}
public String getSchDetailRgtrNm() {
return ifEmpty(schDetailRgtrNm, () -> null);
}
public <T extends ExclQuery> T setSchDetailRgtrNm(String schDetailRgtrNm) {
this.schDetailRgtrNm = schDetailRgtrNm;
return self();
}
public String getSchDetailRgtrCd() {
return ifEmpty(schDetailRgtrCd, () -> null);
}
public <T extends ExclQuery> T setSchDetailRgtr(String schDetailRgtrCd) {
this.schDetailRgtrCd = schDetailRgtrCd;
return self();
}
// 상세검색 조건 ///////////////////////////////////////////////////////////////
// 동적 검색 조건 /////////////////////////////////////////////////////////////// // 동적 검색 조건 ///////////////////////////////////////////////////////////////
public String getLevyExclSeNm() { public String getLevyExclSeNm() {
return ifEmpty(levyExclSeNm, () -> null); return ifEmpty(levyExclSeNm, () -> null);

@ -31,6 +31,25 @@ public interface SndngMapper extends AbstractMapper {
*/ */
List<DataObject> selectWrngSndngTrgtList(SndbQuery req); List<DataObject> selectWrngSndngTrgtList(SndbQuery req);
/** .
* @param req
* @return
*/
List<DataObject> selectWrngSndngTrgts(SndbQuery req);
default DataObject selectWrngSndngTrgtInfo(String crdnId) {
List<DataObject> InfoSndngTrgt = selectWrngSndngTrgts(new SndbQuery().setCrdnId(crdnId));
return !InfoSndngTrgt.isEmpty() ? InfoSndngTrgt.get(0) : null;
}
/** .<br />
* @param req
* @return
*/
List<DataObject> selectAdvntceSndngTrgtList(SndbQuery req);
/** . /** .
* @param req * @param req
* @return * @return
@ -136,11 +155,6 @@ public interface SndngMapper extends AbstractMapper {
*/ */
List<DataObject> selectWrngSndngList(SndbQuery req); List<DataObject> selectWrngSndngList(SndbQuery req);
/** .<br />
* @param req
* @return
*/
List<DataObject> selectAdvntceSndngTrgtList(SndbQuery req);
/** . /** .
* @param req * @param req

@ -26,6 +26,29 @@ public interface SndngService {
*/ */
List<DataObject> getWrngSndngTrgtList(SndbQuery req); List<DataObject> getWrngSndngTrgtList(SndbQuery req);
/** .
* @param req
* @return
*/
List<DataObject> getWrngSndngTrgtInfo(SndbQuery req);
/** .
* @param req
* @return
*/
List<DataObject> getAdvntceSndngTrgtList(SndbQuery req);
/** . /** .
* @param req * @param req
* @return * @return
@ -93,11 +116,6 @@ public interface SndngService {
/** .
* @param req
* @return
*/
List<DataObject> getAdvntceSndngTrgtList(SndbQuery req);
/** . /** .
* @param req * @param req

@ -61,6 +61,30 @@ public class SndngBean extends AbstractComponent {
return sndngMapper.selectWrngSndngTrgtList(req); return sndngMapper.selectWrngSndngTrgtList(req);
} }
/** .
* @param req
* @return
*/
public List<DataObject> getWrngSndngTrgtInfo(SndbQuery req) {
if (req.getOrderBy() == null) {
req.setOrderBy("CRDN_YMD_TM");
}
return sndngMapper.selectWrngSndngTrgts(req);
}
/** .
* @param req
* @return
*/
public List<DataObject> getAdvntceSndngTrgtList(SndbQuery req) {
if (req.getOrderBy() == null) {
req.setOrderBy("CRDN_YMD_TM");
}
return sndngMapper.selectAdvntceSndngTrgtList(req);
}
/** . /** .
* @param req * @param req
* @return * @return
@ -293,13 +317,6 @@ public class SndngBean extends AbstractComponent {
/** .
* @param req
* @return
*/
public List<DataObject> getAdvntceSndngTrgtList(SndbQuery req) {
return sndngMapper.selectAdvntceSndngTrgtList(req);
}
/** . /** .
* @param req * @param req

@ -36,6 +36,22 @@ public class SndngServiceBean extends AbstractServiceBean implements SndngServic
return sndngBean.getWrngSndngTrgtList(req); return sndngBean.getWrngSndngTrgtList(req);
} }
@Override
public List<DataObject> getWrngSndngTrgtInfo(SndbQuery req) {
return sndngBean.getWrngSndngTrgtInfo(req);
}
@Override
public List<DataObject> getAdvntceSndngTrgtList(SndbQuery req) {
return sndngBean.getAdvntceSndngTrgtList(req);
}
@Override @Override
public List<DataObject> getSndngTrgts(SndbQuery req) { public List<DataObject> getSndngTrgts(SndbQuery req) {
return sndngBean.getSndngTrgts(req); return sndngBean.getSndngTrgts(req);
@ -77,10 +93,6 @@ public class SndngServiceBean extends AbstractServiceBean implements SndngServic
@Override
public List<DataObject> getAdvntceSndngTrgtList(SndbQuery req) {
return sndngBean.getAdvntceSndngTrgtList(req);
}
@Override @Override
public List<DataObject> getAdvntceSndngTrgts(SndbQuery req) { public List<DataObject> getAdvntceSndngTrgts(SndbQuery req) {

@ -31,10 +31,12 @@ public class Sndb01Controller extends ApplicationController {
public static final String public static final String
warningSendingTargetMain = "/010/main.do" // 계도장 발송 대상 메인 화면 warningSendingTargetMain = "/010/main.do" // 계도장 발송 대상 메인 화면
, getWrngSndngTrgtList = "/010/list.do" // 계도장 발송 대상 목록 조회 , getWrngSndngTrgtList = "/010/list.do" // 계도장 발송 대상 목록 조회
, getSndngTrgtInfo = "/020/info.do" // 발송 대상 조회 , getWrngSndngTrgtInfo = "/020/info.do" // 발송 대상 조회
, warningSendingMain = "/030/main.do" // 계도장 발송 현황 메인 화면 , warningSendingMain = "/030/main.do" // 계도장 발송 현황 메인 화면
, getWrngSndngList = "/030/list.do" // 계도장 발송 현황 목록 조회 , getWrngSndngList = "/030/list.do" // 계도장 발송 현황 목록 조회
, getSndngDltInfo = "/040/info.do" // 발송 상세 대장 조회 , getSndngDltInfo = "/040/info.do" // 발송 상세 대장 조회
, advanceNoticeSendingTargetMain = "/050/main.do" // 사전통지 발송 대상 메인 화면
, getAdvntceSndngTrgtList = "/050/list.do" // 사전통지 발송 대상 목록 조회
, createSndng = "/020/create.do" // 발송 대상 등록 , createSndng = "/020/create.do" // 발송 대상 등록
; ;
} }
@ -90,8 +92,8 @@ public class Sndb01Controller extends ApplicationController {
* "wrngSndngTrgts": [ ] * "wrngSndngTrgts": [ ]
* }</pre> * }</pre>
*/ */
public ModelAndView getSndngTrgtInfo(SndbQuery req) { public ModelAndView getWrngSndngTrgtInfo(SndbQuery req) {
List<?> sndngTrgts = sndngService.getSndngTrgts(req); List<?> wrngSndngTrgtInfo = sndngService.getWrngSndngTrgtInfo(req);
boolean json = jsonResponse(); boolean json = jsonResponse();
@ -99,8 +101,8 @@ public class Sndb01Controller extends ApplicationController {
return mav return mav
.addObject("pageName", "sndb01020") .addObject("pageName", "sndb01020")
.addObject("sndngSeCd", req.getSndngSeCd()) // 발송 구분 코드 .addObject("sndngSeCd", req.getSndngSeCd()) // 발송 구분 코드
.addObject("sndngTrgtInfo", json ? sndngTrgts : toJson(sndngTrgts)) // 계도장 발송 대상 정보 .addObject("wrngSndngTrgtInfo", json ? wrngSndngTrgtInfo : toJson(wrngSndngTrgtInfo)) // 계도장 발송 대상 정보
; ;
} }
@ -158,6 +160,48 @@ public class Sndb01Controller extends ApplicationController {
; ;
} }
/** (sndb/sndb01/050-main) .
* {@link #getSndngList(SndbQuery) } .
* @return /sndb/sndb01/050-main
*/
public ModelAndView advanceNoticeSendingTargetMain() {
ModelAndView mav = new ModelAndView("fims/sndb/sndb01050-main");
// View(jsp)에서 사용할 공통코드를 조회
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM004", "FIM005", "FIM006", "FIM054", "FIM061", "FIM064");
addCodes(commonCodes, mav, "FIM004", "FIM005", "FIM006", "FIM061", "FIM064");
return mav.addObject("pageName", "sndb01050") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
.addObject("infoPrefix", "advntceSndngTrgt") // prefix
.addObject("FIM054List", commonCodes.get("FIM054")) // 업무 구분 코드(TASK_SE_CD)
.addObject("FIM004List", commonCodes.get("FIM004")) // 주정차위반 내역 코드(VLTN_ID)
.addObject("FIM005List", commonCodes.get("FIM005")) // 전용차로위반 내역 코드(VLTN_ID)
.addObject("FIM006List", commonCodes.get("FIM006")) // 장애인주차위반 내역 코드(VLTN_ID)
.addObject("FIM061List", commonCodes.get("FIM061")) // 전기차 충전구역 및 충전방해 위반 코드(VLTN_ID)
.addObject("FIM064List", commonCodes.get("FIM064")) // 화물자동차 밤샘주차 위반 코드(VLTN_ID)
;
}
/** .<br />
* {@link SndngService#getSndngList(SndngQuery)}
* @param req
* @return jsonView
* <pre><code> {
* "sndngList": [ ]
* "sndngStart":
* "sndngFetch":
* "sndngTotal":
* }</code></pre>
*/
public ModelAndView getAdvntceSndngTrgtList(SndbQuery req) {
List<?> result = sndngService.getAdvntceSndngTrgtList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "advntceSndngTrgt");
}

@ -247,29 +247,21 @@ public class CmnController {
return super.warningSendingMain(); return super.warningSendingMain();
} }
}
@Controller
@RequestMapping(name = "사전통보 발송", value = Sndb02Controller.CLASS_URL)
class Sndb02Controller extends cokr.xit.fims.sndb.web.Sndb02Controller {
/** . /** .
* @return fims/sndb/sndb02010-main * @return fims/sndb/sndb01050-main
*/ */
@Override @Override
@RequestMapping(name = "사전 통보 발송 대상 자료", value = METHOD_URL.advanceNoticeSendingTargetMain) @RequestMapping(name = "사전 통보 발송 대상", value = METHOD_URL.advanceNoticeSendingTargetMain)
public ModelAndView advanceNoticeSendingTargetMain() { public ModelAndView advanceNoticeSendingTargetMain() {
return super.advanceNoticeSendingTargetMain(); return super.advanceNoticeSendingTargetMain();
} }
/** . }
* @return fims/sndb/sndb02030-main
*/ @Controller
@Override @RequestMapping(name = "사전통보 발송", value = Sndb02Controller.CLASS_URL)
@RequestMapping(name = "사전 통보 발송 현황", value = METHOD_URL.advanceNoticeSendingMain) class Sndb02Controller extends cokr.xit.fims.sndb.web.Sndb02Controller {
public ModelAndView advanceNoticeSendingMain() {
return super.advanceNoticeSendingMain();
}
} }

@ -505,9 +505,9 @@ public class DpvController {
} }
@Override @Override
@RequestMapping(name="장애인과태료업무 발송 대상 등록", value=METHOD_URL.getSndngTrgtInfo) @RequestMapping(name="장애인과태료업무 계고장 발송 대상 등록", value=METHOD_URL.getWrngSndngTrgtInfo)
public ModelAndView getSndngTrgtInfo(SndbQuery req) { public ModelAndView getWrngSndngTrgtInfo(SndbQuery req) {
return super.getSndngTrgtInfo(req); return super.getWrngSndngTrgtInfo(req);
} }
@Override @Override
@ -517,19 +517,25 @@ public class DpvController {
} }
@Override @Override
@RequestMapping(name="장애인과태료업무 발송 상세 대장 조회", value=METHOD_URL.getSndngDltInfo) @RequestMapping(name="장애인과태료업무 사전통지 발송 대상 목록 조회", value=METHOD_URL.getAdvntceSndngTrgtList)
public ModelAndView getSndngDltInfo(SndbQuery req) { public ModelAndView getAdvntceSndngTrgtList(SndbQuery req) {
return super.getSndngDltInfo(req); return super.getAdvntceSndngTrgtList(req);
} }
@Override @Override
@RequestMapping(name="장애인과태료업무 발송 등록", value=METHOD_URL.createSndng) @RequestMapping(name="장애인과태료업무 발송 등록", value=METHOD_URL.createSndng)
public ModelAndView createSndng(Sndng sndng) { public ModelAndView createSndng(Sndng sndng) {
return super.createSndng(sndng); return super.createSndng(sndng);
} }
@Override
@RequestMapping(name="장애인과태료업무 발송 상세 대장 조회", value=METHOD_URL.getSndngDltInfo)
public ModelAndView getSndngDltInfo(SndbQuery req) {
return super.getSndngDltInfo(req);
}
} }

@ -81,6 +81,44 @@
<if test = "schVhrno != null"> <if test = "schVhrno != null">
AND C.VHRNO = #{schVhrno} <!-- 차량번호 --> AND C.VHRNO = #{schVhrno} <!-- 차량번호 -->
</if> </if>
<choose>
<when test="schDetailRegDtOpt == 'regDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(CRR.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 등록 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(CRR.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 등록 일자 종료 -->
</if>
</when>
<when test="schDetailRegDtOpt == 'mdfcnDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(CRR.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 수정 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(CRR.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 수정 일자 종료 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schDetailRgtrOpt == 'rgtr'">
<if test="schDetailRgtrCd != null">
AND CRR.RGTR = #{schDetailRgtrCd} <!-- 등록자 코드 -->
</if>
</when>
<when test="schDetailRgtrOpt == 'mdfr'">
<if test="schDetailRgtrCd != null">
AND CRR.MDFR = #{schDetailRgtrCd} <!-- 수정자 코드 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose> <choose>
<when test="delYn != null"> <when test="delYn != null">
AND CRR.DEL_YN = #{delYn} <!-- 삭제 여부 --> AND CRR.DEL_YN = #{delYn} <!-- 삭제 여부 -->

@ -72,13 +72,15 @@
, (SELECT FN_GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM <!-- 단속 특별구역 명 --> , (SELECT FN_GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM <!-- 단속 특별구역 명 -->
, CA.PARKNG_PSBLTY_RSLT_CD <!-- 주차 가능 결과 코드 --> , CA.PARKNG_PSBLTY_RSLT_CD <!-- 주차 가능 결과 코드 -->
, (SELECT FN_GET_CODE_NM('FIM034', CA.PARKNG_PSBLTY_RSLT_CD) FROM DUAL) AS PARKNG_PSBLTY_RSLT_NM<!-- 주차 가능 결과 명 --> , (SELECT FN_GET_CODE_NM('FIM034', CA.PARKNG_PSBLTY_RSLT_CD) FROM DUAL) AS PARKNG_PSBLTY_RSLT_NM<!-- 주차 가능 결과 명 -->
, VI.VLTN_ID <!-- 위반 ID -->
, VI.VLTN_CD <!-- 위반 코드 -->
, VI.VLTN_ARTCL <!-- 위반 항목 -->
, P.RTPYR_ID <!-- 납부자 ID --> , P.RTPYR_ID <!-- 납부자 ID -->
, P.RTPYR_SE_CD <!-- 납부자 구분 코드 --> , P.RTPYR_SE_CD <!-- 납부자 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM <!-- 납부자 구분 명 --> , (SELECT FN_GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM <!-- 납부자 구분 명 -->
, P.RTPYR_NO <!-- 납부자 번호 --> , P.RTPYR_NO <!-- 납부자 번호 -->
, P.RTPYR_NM <!-- 납부자 명 --> , P.RTPYR_NM <!-- 납부자 명 -->
, P.RTPYR_BRDT <!-- 납부자 생년월일 --> , P.RTPYR_BRDT <!-- 납부자 생년월일 -->
, (SELECT FN_GET_BRDT_FORMAT(P.RTPYR_BRDT, '.') FROM DUAL) AS RTPYR_BRDT_FORMAT <!-- 납부자 생년월일 -->
, P.ZIP <!-- 우편번호 --> , P.ZIP <!-- 우편번호 -->
, P.ADDR <!-- 주소 --> , P.ADDR <!-- 주소 -->
, P.DTL_ADDR <!-- 상세 주소 --> , P.DTL_ADDR <!-- 상세 주소 -->
@ -91,87 +93,123 @@
, CC.CVLCPT_TRSM_CD <!-- 민원 전송 코드 --> , CC.CVLCPT_TRSM_CD <!-- 민원 전송 코드 -->
, CC.CVLCPT_TRSM_DT <!-- 민원 전송 일시 --> , CC.CVLCPT_TRSM_DT <!-- 민원 전송 일시 -->
FROM TB_LEVY_EXCL LE FROM TB_LEVY_EXCL LE
INNER JOIN TB_CRDN C ON (LE.CRDN_ID = C.CRDN_ID) INNER JOIN TB_CRDN C ON (LE.CRDN_ID = C.CRDN_ID)
INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID) INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID)
LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID) INNER JOIN TB_VLTN_INFO VI ON (C.VLTN_ID = VI.VLTN_ID)
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CVLCPT_LINK_YN = 'Y' AND CC.DEL_YN = 'N') LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID)
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CVLCPT_LINK_YN = 'Y' AND CC.DEL_YN = 'N')
</sql> </sql>
<select id="selectLevyExclList" parameterType="map" resultType="dataobject">/* 부과제외 대장 목록 조회(levyExclMapper.selectLevyExclList) */ <select id="selectLevyExclList" parameterType="map" resultType="dataobject">/* 부과제외 대장 목록 조회(levyExclMapper.selectLevyExclList) */
<include refid="utility.paging-prefix" /> <include refid="utility.paging-prefix" />
<include refid="select" /> <include refid="select" />
<where> WHERE C.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
<if test="schLevyExclYmdFrom != null"> AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
<if test="schLevyExclYmdFrom != null">
AND LE.LEVY_EXCL_YMD <![CDATA[ >= ]]> #{schLevyExclYmdFrom} <!-- 부과제외 일자 시작 --> AND LE.LEVY_EXCL_YMD <![CDATA[ >= ]]> #{schLevyExclYmdFrom} <!-- 부과제외 일자 시작 -->
</if> </if>
<if test="schLevyExclYmdTo != null"> <if test="schLevyExclYmdTo != null">
AND LE.LEVY_EXCL_YMD <![CDATA[ <= ]]> #{schLevyExclYmdTo} <!-- 부과제외 일자 종료 --> AND LE.LEVY_EXCL_YMD <![CDATA[ <= ]]> #{schLevyExclYmdTo} <!-- 부과제외 일자 종료 -->
</if> </if>
<if test="schLevyExclSeCd != null"> <if test="schLevyExclSeCd != null">
AND LE.LEVY_EXCL_SE_CD = #{schLevyExclSeCd} <!-- 부과 제외 구분 코드 --> AND LE.LEVY_EXCL_SE_CD = #{schLevyExclSeCd} <!-- 부과 제외 구분 코드 -->
</if> </if>
<if test="schCrdnYmdFrom != null"> <if test="schCrdnYmdFrom != null">
AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} <!-- 단속 일자 시작 --> AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} <!-- 단속 일자 시작 -->
</if> </if>
<if test="schCrdnYmdTo != null"> <if test="schCrdnYmdTo != null">
AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} <!-- 단속 일자 종료 --> AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} <!-- 단속 일자 종료 -->
</if> </if>
<if test="schVhrno != null"> <if test="schVhrno != null">
AND C.VHRNO = #{schVhrno} <!-- 차량번호 --> AND C.VHRNO = #{schVhrno} <!-- 차량번호 -->
</if> </if>
<if test="schRtpyrNm != null"> <if test="schRtpyrNm != null">
AND P.RTPYR_NM = #{schRtpyrNm} <!-- 납부자 명 --> AND P.RTPYR_NM = #{schRtpyrNm} <!-- 납부자 명 -->
</if> </if>
<choose> <choose>
<when test="schRegDateOpt == 'regDt'"> <when test="schDetailRegDtOpt == 'regDt'">
<if test="schRegDateFrom != null"> <if test="schDetailRegDtFrom != null">
AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} <!-- 등록 일자 시작 --> AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 등록 일자 시작 -->
</if> </if>
<if test="schRegDateTo != null"> <if test="schDetailRegDtTo != null">
AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} <!-- 등록 일자 종료 --> AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 등록 일자 종료 -->
</if> </if>
</when> </when>
<when test="schRegDateOpt == 'mdfcnDt'"> <when test="schDetailRegDtOpt == 'mdfcnDt'">
<if test="schRegDateFrom != null"> <if test="schDetailRegDtFrom != null">
AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} <!-- 수정 일자 시작 --> AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 수정 일자 시작 -->
</if> </if>
<if test="schRegDateTo != null"> <if test="schDetailRegDtTo != null">
AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} <!-- 수정 일자 종료 --> AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 수정 일자 종료 -->
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose> <choose>
<when test="schDetailUserOpt == 'rgtr'"> <when test="schDetailRgtrOpt == 'rgtr'">
<if test="schDetailUserCd != null"> <if test="schDetailRgtrCd != null">
AND LE.RGTR = #{schDetailUserCd} <!-- 등록자 코드 --> AND LE.RGTR = #{schDetailRgtrCd} <!-- 등록자 코드 -->
</if> </if>
</when> </when>
<when test="schDetailUserOpt == 'mdfr'"> <when test="schDetailRgtrOpt == 'mdfr'">
<if test="schDetailUserCd != null"> <if test="schDetailRgtrCd != null">
AND LE.MDFR = #{schDetailUserCd} <!-- 수정자 코드 --> AND LE.MDFR = #{schDetailRgtrCd} <!-- 수정자 코드 -->
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose> <choose>
<when test="delYn != null"> <when test="schDetailCrdnRegDtOpt == 'regDt'">
<if test="schDetailCrdnRegDtFrom != null">
AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailCrdnRegDtFrom} <!-- 등록 일자 시작 -->
</if>
<if test="schDetailCrdnRegDtTo != null">
AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailCrdnRegDtTo} <!-- 등록 일자 종료 -->
</if>
</when>
<when test="schDetailCrdnRegDtOpt == 'mdfcnDt'">
<if test="schDetailCrdnRegDtFrom != null">
AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailCrdnRegDtFrom} <!-- 수정 일자 시작 -->
</if>
<if test="schDetailCrdnRegDtTo != null">
AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailCrdnRegDtTo} <!-- 수정 일자 종료 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schDetailCrdnRgtrOpt == 'rgtr'">
<if test="schDetailCrdnRgtrCd != null">
AND C.RGTR = #{schDetailCrdnRgtrCd} <!-- 등록자 코드 -->
</if>
</when>
<when test="schDetailCrdnRgtrOpt == 'mdfr'">
<if test="schDetailCrdnRgtrCd != null">
AND C.MDFR = #{schDetailCrdnRgtrCd} <!-- 수정자 코드 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="delYn != null">
AND LE.DEL_YN = #{delYn} <!-- 삭제 여부 --> AND LE.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</when> </when>
<otherwise> <otherwise>
AND LE.DEL_YN = 'N' <!-- 삭제 여부 --> AND LE.DEL_YN = 'N' <!-- 삭제 여부 -->
</otherwise> </otherwise>
</choose> </choose>
</where> <choose>
AND C.SGG_CD = #{sggCd} <!-- 시군구 코드 --> <when test="crdnDelYn != null">
<if test="taskSeCd != null"> AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 -->
AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 --> </when>
</if> <otherwise>
<if test="crdnDelYn != null"> AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 --> </otherwise>
</if> </choose>
<if test="by != null and by != '' and term != null"> <if test="by != null and by != '' and term != null">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">

@ -114,7 +114,7 @@
, (SELECT FN_GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM <!-- 납부자 구분 명 --> , (SELECT FN_GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM <!-- 납부자 구분 명 -->
, P.RTPYR_NO <!-- 납부자 번호 --> , P.RTPYR_NO <!-- 납부자 번호 -->
, P.RTPYR_NM <!-- 납부자 명 --> , P.RTPYR_NM <!-- 납부자 명 -->
, (SELECT FN_GET_BRDT_FORMAT(P.RTPYR_BRDT, '-') FROM DUAL) AS RTPYR_BRDT_FORMAT <!-- 납부자 생년월일 --> , P.RTPYR_BRDT <!-- 납부자 생년월일 -->
, P.ZIP <!-- 우편번호 --> , P.ZIP <!-- 우편번호 -->
, P.ADDR <!-- 주소 --> , P.ADDR <!-- 주소 -->
, P.DTL_ADDR <!-- 상세 주소 --> , P.DTL_ADDR <!-- 상세 주소 -->
@ -133,81 +133,77 @@
<select id="selectOpnnSbmsnList" parameterType="map" resultType="dataobject">/* 의견제출 대장 목록 조회(opnnSbmsnMapper.selectOpnnSbmsnList) */ <select id="selectOpnnSbmsnList" parameterType="map" resultType="dataobject">/* 의견제출 대장 목록 조회(opnnSbmsnMapper.selectOpnnSbmsnList) */
<include refid="utility.paging-prefix" /> <include refid="utility.paging-prefix" />
<include refid="select" /> <include refid="select" />
<where> WHERE C.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
<if test="schRcptYmdFrom != null"> AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
<if test="schRcptYmdFrom != null">
AND OS.RCPT_YMD <![CDATA[ >= ]]> #{schRcptYmdFrom} <!-- 접수 일자 시작 --> AND OS.RCPT_YMD <![CDATA[ >= ]]> #{schRcptYmdFrom} <!-- 접수 일자 시작 -->
</if> </if>
<if test="schRcptYmdTo != null"> <if test="schRcptYmdTo != null">
AND OS.RCPT_YMD <![CDATA[ <= ]]> #{schRcptYmdTo} <!-- 접수 일자 종료 --> AND OS.RCPT_YMD <![CDATA[ <= ]]> #{schRcptYmdTo} <!-- 접수 일자 종료 -->
</if> </if>
<if test="schAnsYmdFrom != null"> <if test="schAnsYmdFrom != null">
AND OS.ANS_YMD <![CDATA[ >= ]]> #{schAnsYmdFrom} <!-- 답변 일자 시작 --> AND OS.ANS_YMD <![CDATA[ >= ]]> #{schAnsYmdFrom} <!-- 답변 일자 시작 -->
</if> </if>
<if test="schAnsYmdTo != null"> <if test="schAnsYmdTo != null">
AND OS.ANS_YMD <![CDATA[ <= ]]> #{schAnsYmdTo} <!-- 답변 일자 종료 --> AND OS.ANS_YMD <![CDATA[ <= ]]> #{schAnsYmdTo} <!-- 답변 일자 종료 -->
</if> </if>
<if test="schSttrNm != null"> <if test="schSttrNm != null">
AND OS.STTR_NM = #{schSttrNm} <!-- 진술자 명 --> AND OS.STTR_NM = #{schSttrNm} <!-- 진술자 명 -->
</if> </if>
<if test="schOpnnSbmsnSttsCd != null"> <if test="schOpnnSbmsnSttsCd != null">
AND OS.OPNN_SBMSN_STTS_CD = #{schOpnnSbmsnSttsCd} <!-- 의견 제출 상태 코드 --> AND OS.OPNN_SBMSN_STTS_CD = #{schOpnnSbmsnSttsCd} <!-- 의견 제출 상태 코드 -->
</if> </if>
<if test="schVhrno != null"> <if test="schVhrno != null">
AND C.VHRNO = #{schVhrno} <!-- 차량번호 --> AND C.VHRNO = #{schVhrno} <!-- 차량번호 -->
</if> </if>
<if test="schCrdnYmdFrom != null"> <if test="schCrdnYmdFrom != null">
AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} <!-- 단속 일자 시작 --> AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} <!-- 단속 일자 시작 -->
</if> </if>
<if test="schCrdnYmdTo != null"> <if test="schCrdnYmdTo != null">
AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} <!-- 단속 일자 종료 --> AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} <!-- 단속 일자 종료 -->
</if> </if>
<choose> <choose>
<when test="schRegDateOpt == 'regDt'"> <when test="schDetailRegDtOpt == 'regDt'">
<if test="schRegDateFrom != null"> <if test="schDetailRegDtFrom != null">
AND SUBSTR(OS.REG_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} <!-- 등록 일자 시작 --> AND SUBSTR(OS.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 등록 일자 시작 -->
</if> </if>
<if test="schRegDateTo != null"> <if test="schDetailRegDtTo != null">
AND SUBSTR(OS.REG_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} <!-- 등록 일자 종료 --> AND SUBSTR(OS.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 등록 일자 종료 -->
</if> </if>
</when> </when>
<when test="schRegDateOpt == 'mdfcnDt'"> <when test="schDetailRegDtOpt == 'mdfcnDt'">
<if test="schRegDateFrom != null"> <if test="schDetailRegDtFrom != null">
AND SUBSTR(OS.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} <!-- 수정 일자 시작 --> AND SUBSTR(OS.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 수정 일자 시작 -->
</if> </if>
<if test="schRegDateTo != null"> <if test="schDetailRegDtTo != null">
AND SUBSTR(OS.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} <!-- 수정 일자 종료 --> AND SUBSTR(OS.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 수정 일자 종료 -->
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose> <choose>
<when test="schDetailUserOpt == 'rgtr'"> <when test="schDetailRgtrOpt == 'rgtr'">
<if test="schDetailUserCd != null"> <if test="schDetailRgtrCd != null">
AND OS.RGTR = #{schDetailUserCd} <!-- 등록자 코드 --> AND OS.RGTR = #{schDetailRgtrCd} <!-- 등록자 코드 -->
</if> </if>
</when> </when>
<when test="schDetailUserOpt == 'mdfr'"> <when test="schDetailRgtrOpt == 'mdfr'">
<if test="schDetailUserCd != null"> <if test="schDetailRgtrCd != null">
AND OS.MDFR = #{schDetailUserCd} <!-- 수정자 코드 --> AND OS.MDFR = #{schDetailRgtrCd} <!-- 수정자 코드 -->
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose> <choose>
<when test="delYn != null"> <when test="delYn != null">
AND OS.DEL_YN = #{delYn} <!-- 삭제 여부 --> AND OS.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</when> </when>
<otherwise> <otherwise>
AND OS.DEL_YN = 'N' <!-- 삭제 여부 --> AND OS.DEL_YN = 'N' <!-- 삭제 여부 -->
</otherwise> </otherwise>
</choose> </choose>
</where>
AND C.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
<if test="taskSeCd != null">
AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
</if>
<if test="crdnDelYn != null"> <if test="crdnDelYn != null">
AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 --> AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 -->
</if> </if>

@ -109,16 +109,20 @@
<result property="delRsn" column="DEL_RSN" /> <!-- 삭제 사유 --> <result property="delRsn" column="DEL_RSN" /> <!-- 삭제 사유 -->
</resultMap> </resultMap>
<select id="selectWrngSndngTrgtList" parameterType="map" resultType="dataobject">/* 계고장 발송 대상 목록 조회(sndngMapper.selectWrngSndngTrgtList) */ <sql id="selectWrngSndngTrgt">
<include refid="utility.paging-prefix" /> SELECT COUNT(*) OVER() AS TNOCS
SELECT C.CRDN_ID <!-- 단속 ID --> , SUM(C.FFNLG_AMT) OVER() AS GRAMT
, C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 --> , C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 --> , C.TASK_SE_CD <!-- 업무 구분 코드 -->
, C.CRDN_REG_SE_CD <!-- 단속 등록 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM026', C.CRDN_REG_SE_CD) FROM DUAL) AS CRDN_REG_SE_NM <!-- 단속 등록 구분 명 -->
, C.CRDN_INPT_SE_CD <!-- 단속 입력 구분 코드 --> , C.CRDN_INPT_SE_CD <!-- 단속 입력 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM <!-- 단속 입력 구분 명 --> , (SELECT FN_GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM <!-- 단속 입력 구분 명 -->
, C.CRDN_YMD <!-- 단속 일자 --> , C.CRDN_YMD <!-- 단속 일자 -->
, C.CRDN_TM <!-- 단속 시각 --> , C.CRDN_TM <!-- 단속 시각 -->
, (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM <!-- 단속 일시 --> , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM <!-- 단속 일시 -->
, FN_GET_MASK_DATETIME(C.CRDN_YMD, C.CRDN_TM, '-', ':') AS CRDN_YMD_TM_MASK <!-- 단속 일시 마스크 -->
, C.VHRNO <!-- 차량번호 --> , C.VHRNO <!-- 차량번호 -->
, C.CRDN_STDG_NM <!-- 단속 법정동 명 --> , C.CRDN_STDG_NM <!-- 단속 법정동 명 -->
, C.CRDN_ROAD_NM <!-- 단속 도로 명 --> , C.CRDN_ROAD_NM <!-- 단속 도로 명 -->
@ -126,32 +130,64 @@
, C.FFNLG_AMT <!-- 과태료 금액 --> , C.FFNLG_AMT <!-- 과태료 금액 -->
, C.CRDN_STTS_CD <!-- 단속 상태 코드 --> , C.CRDN_STTS_CD <!-- 단속 상태 코드 -->
, (SELECT FN_GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM <!-- 단속 상태 명 --> , (SELECT FN_GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM <!-- 단속 상태 명 -->
, C.CRDN_STTS_CHG_DT <!-- 단속 상태 변경 일시 -->
, C.REG_DT <!-- 등록 일시 --> , C.REG_DT <!-- 등록 일시 -->
, C.RGTR <!-- 등록자 --> , C.RGTR <!-- 등록자 -->
, (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.RGTR) AS RGTR_NM <!-- 등록자 명 --> , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.RGTR) AS RGTR_NM <!-- 등록자 명 -->
, C.MDFCN_DT <!-- 수정 일시 --> , C.MDFCN_DT <!-- 수정 일시 -->
, C.MDFR <!-- 수정자 --> , C.MDFR <!-- 수정자 -->
, (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.MDFR) AS MDFR_NM <!-- 수정자 명 --> , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.MDFR) AS MDFR_NM <!-- 수정자 명 -->
, CA.CRDN_SE_CD <!-- 단속 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM002', CA.CRDN_SE_CD) FROM DUAL) AS CRDN_SE_NM <!-- 단속 구분 명 -->
, CA.CRDN_SPAREA_CD <!-- 단속 특별구역 코드 -->
, (SELECT FN_GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM <!-- 단속 특별구역 명 -->
, CA.PARKNG_PSBLTY_RSLT_CD <!-- 주차 가능 결과 코드 -->
, (SELECT FN_GET_CODE_NM('FIM034', CA.PARKNG_PSBLTY_RSLT_CD) FROM DUAL) AS PARKNG_PSBLTY_RSLT_NM<!-- 주차 가능 결과 명 -->
, VI.VLTN_ID <!-- 위반 ID -->
, VI.VLTN_CD <!-- 위반 코드 -->
, VI.VLTN_ARTCL <!-- 위반 항목 -->
, CC.CVLCPT_LINK_ID <!-- 민원 연계 ID --> , CC.CVLCPT_LINK_ID <!-- 민원 연계 ID -->
, CC.CVLCPT_RCPT_YMD <!-- 민원 접수 일자 --> , CC.CVLCPT_RCPT_YMD <!-- 민원 접수 일자 -->
, CC.CVLCPT_APLY_NO <!-- 민원 신청 번호 --> , CC.CVLCPT_APLY_NO <!-- 민원 신청 번호 -->
, CC.CVLCPT_RCPT_NO <!-- 민원 접수 번호 --> , CC.CVLCPT_RCPT_NO <!-- 민원 접수 번호 -->
, CC.CVLCPT_APLY_DT <!-- 민원 신청 일시 -->
, CC.CVLCPT_APLY_TTL_NM <!-- 민원 신청 제목 명 -->
, CC.CVLCPT_GIST <!-- 민원 요지 -->
, (SELECT FN_GET_CODE_NM('FIM017', CC.CVLCPT_PRCS_CD) FROM DUAL) AS CVLCPT_PRCS_NM <!-- 민원 처리 명 -->
, CC.CVLCPT_PRCS_SUMRY <!-- 민원 처리 요약 --> , CC.CVLCPT_PRCS_SUMRY <!-- 민원 처리 요약 -->
, CC.CVLCPT_PRCS_CD <!-- 민원 처리 코드 --> , CC.CVLCPT_PRCS_RSLT_CN <!-- 민원 처리 결과 내용 -->
, CC.CVLCPT_PRCS_CMPTN_DT <!-- 민원 처리 완료 일시 --> , CC.CVLCPT_PRCS_CMPTN_DT <!-- 민원 처리 완료 일시 -->
, CC.CVLCPT_TRSM_CD <!-- 민원 전송 코드 --> , (SELECT FN_GET_CODE_NM('FIM018', CC.CVLCPT_TRSM_CD) FROM DUAL) AS CVLCPT_TRSM_NM <!-- 민원 전송 명 -->
, CC.CVLCPT_TRSM_DT <!-- 민원 전송 일시 --> , CC.CVLCPT_TRSM_DT <!-- 민원 전송 일시 -->
, P.RTPYR_ID <!-- 납부자 ID -->
, P.RTPYR_SE_CD <!-- 납부자 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM <!-- 납부자 구분 명 -->
, P.RTPYR_NO <!-- 납부자 번호 -->
, P.RTPYR_NM <!-- 납부자 명 -->
, P.RTPYR_BRDT <!-- 납부자 생년월일 -->
, P.ZIP <!-- 우편번호 -->
, P.ADDR <!-- 주소 -->
, P.DTL_ADDR <!-- 상세 주소 -->
, LE.LEVY_EXCL_ID <!-- 부과 제외 ID --> , LE.LEVY_EXCL_ID <!-- 부과 제외 ID -->
, LE.LEVY_EXCL_YMD <!-- 부과 제외 일자 --> , LE.LEVY_EXCL_YMD <!-- 부과 제외 일자 -->
, LE.LEVY_EXCL_RSN_CD <!-- 부과 제외 사유 코드 --> , LE.LEVY_EXCL_RSN_CD <!-- 부과 제외 사유 코드 -->
, (SELECT FN_GET_CODE_NM('FIM022', LE.LEVY_EXCL_RSN_CD) FROM DUAL) AS LEVY_EXCL_RSN_NM <!-- 부과 제외 사유 명 --> , (SELECT FN_GET_CODE_NM('FIM022', LE.LEVY_EXCL_RSN_CD) FROM DUAL) AS LEVY_EXCL_RSN_NM <!-- 부과 제외 사유 명 -->
, LE.ETC_CN <!-- 기타 내용 --> , LE.ETC_CN <!-- 기타 내용 -->
, L.LEVY_ID <!-- 부과 ID -->
FROM TB_CRDN C FROM TB_CRDN C
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CVLCPT_LINK_YN = 'Y' AND CC.DEL_YN = 'N') INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID)
LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID AND LE.DEL_YN = 'N') INNER JOIN TB_VLTN_INFO VI ON (C.VLTN_ID = VI.VLTN_ID)
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CVLCPT_LINK_YN = 'Y' AND CC.DEL_YN = 'N')
LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID)
LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID AND LE.DEL_YN = 'N')
LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = 'N')
</sql>
<select id="selectWrngSndngTrgtList" parameterType="map" resultType="dataobject">/* 계고장 발송 대상 목록 조회(sndngMapper.selectWrngSndngTrgtList) */
<include refid="utility.paging-prefix" />
<include refid="selectWrngSndngTrgt" />
WHERE C.SGG_CD = #{sggCd} <!-- 시군구 코드 --> WHERE C.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 --> AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 -->
AND C.CRDN_STTS_CD = #{crdnSttsCd} <!-- 단속 상태 코드 --> AND C.CRDN_STTS_CD = #{crdnSttsCd} <!-- 단속 상태 코드 -->
<if test="schLevyExclYmdFrom != null"> <if test="schLevyExclYmdFrom != null">
AND LE.LEVY_EXCL_YMD <![CDATA[ >= ]]> #{schLevyExclYmdFrom} <!-- 부과제외 일자 시작 --> AND LE.LEVY_EXCL_YMD <![CDATA[ >= ]]> #{schLevyExclYmdFrom} <!-- 부과제외 일자 시작 -->
@ -168,40 +204,93 @@
<if test="schVhrno != null"> <if test="schVhrno != null">
AND C.VHRNO = #{schVhrno} <!-- 차량번호 --> AND C.VHRNO = #{schVhrno} <!-- 차량번호 -->
</if> </if>
<if test="schRtpyrNm != null">
AND P.RTPYR_NM = #{schRtpyrNm} <!-- 납부자 명 -->
</if>
<choose>
<when test="schDetailRegDtOpt == 'regDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 등록 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 등록 일자 종료 -->
</if>
</when>
<when test="schDetailRegDtOpt == 'mdfcnDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 수정 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 수정 일자 종료 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schDetailRgtrOpt == 'rgtr'">
<if test="schDetailRgtrCd != null">
AND LE.RGTR = #{schDetailRgtrCd} <!-- 등록자 코드 -->
</if>
</when>
<when test="schDetailRgtrOpt == 'mdfr'">
<if test="schDetailRgtrCd != null">
AND LE.MDFR = #{schDetailRgtrCd} <!-- 수정자 코드 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose> <choose>
<when test="schRegDateOpt == 'regDt'"> <when test="schDetailCrdnRegDtOpt == 'regDt'">
<if test="schRegDateFrom != null"> <if test="schDetailCrdnRegDtFrom != null">
AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} <!-- 등록 일자 시작 --> AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailCrdnRegDtFrom} <!-- 등록 일자 시작 -->
</if> </if>
<if test="schRegDateTo != null"> <if test="schDetailCrdnRegDtTo != null">
AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} <!-- 등록 일자 종료 --> AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailCrdnRegDtTo} <!-- 등록 일자 종료 -->
</if> </if>
</when> </when>
<when test="schRegDateOpt == 'mdfcnDt'"> <when test="schDetailCrdnRegDtOpt == 'mdfcnDt'">
<if test="schRegDateFrom != null"> <if test="schDetailCrdnRegDtFrom != null">
AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schRegDateFrom} <!-- 수정 일자 시작 --> AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailCrdnRegDtFrom} <!-- 수정 일자 시작 -->
</if> </if>
<if test="schRegDateTo != null"> <if test="schDetailCrdnRegDtTo != null">
AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schRegDateTo} <!-- 수정 일자 종료 --> AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailCrdnRegDtTo} <!-- 수정 일자 종료 -->
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose> <choose>
<when test="schDetailUserOpt == 'rgtr'"> <when test="schDetailCrdnRgtrOpt == 'rgtr'">
<if test="schDetailUserCd != null"> <if test="schDetailCrdnRgtrCd != null">
AND C.RGTR = #{schDetailUserCd} <!-- 등록자 코드 --> AND C.RGTR = #{schDetailCrdnRgtrCd} <!-- 등록자 코드 -->
</if> </if>
</when> </when>
<when test="schDetailUserOpt == 'mdfr'"> <when test="schDetailCrdnRgtrOpt == 'mdfr'">
<if test="schDetailUserCd != null"> <if test="schDetailCrdnRgtrCd != null">
AND C.MDFR = #{schDetailUserCd} <!-- 수정자 코드 --> AND C.MDFR = #{schDetailCrdnRgtrCd} <!-- 수정자 코드 -->
</if> </if>
</when> </when>
<otherwise> <otherwise>
</otherwise> </otherwise>
</choose> </choose>
<choose>
<when test="delYn != null">
AND LE.DEL_YN = #{delYn} <!-- 삭제 여부 -->
</when>
<otherwise>
AND LE.DEL_YN = 'N' <!-- 삭제 여부 -->
</otherwise>
</choose>
<choose>
<when test="crdnDelYn != null">
AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 -->
</when>
<otherwise>
AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
</otherwise>
</choose>
<if test="by != null and by != '' and term != null"> <if test="by != null and by != '' and term != null">
<choose> <choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
@ -232,92 +321,204 @@
<include refid="utility.paging-suffix" /> <include refid="utility.paging-suffix" />
</select> </select>
<select id="selectSndngTrgts" parameterType="map" resultType="dataobject">/* 발송 대상 객체 가져오기(sndngMapper.selectSndngTrgts) */ <select id="selectWrngSndngTrgts" parameterType="map" resultType="dataobject">/* 계고장 발송 대상 객체 가져오기(sndngMapper.selectWrngSndngTrgts) */
SELECT COUNT(*) OVER() AS TNOCS <include refid="selectWrngSndngTrgt" />
, SUM(C.FFNLG_AMT) OVER() AS GRAMT <where>
, C.CRDN_ID <!-- 단속 ID --> <if test="crdnIDs != null">
AND C.CRDN_ID IN (
<foreach collection="crdnIDs" item="crdnId" separator=","> #{crdnId} </foreach>
)
</if>
<if test="crdnId != null">
AND C.CRDN_ID = #{crdnId} <!-- 단속 ID -->
</if>
<choose>
<when test="crdnDelYn != null">
AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 -->
</when>
<otherwise>
AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
</otherwise>
</choose>
</where>
<include refid="utility.orderBy" />
</select>
<select id="selectAdvntceSndngTrgtList" parameterType="map" resultType="dataobject">/* 사전통지 발송 대상 목록 조회(sndngMapper.selectAdvntceSndngTrgtList) */
<include refid="utility.paging-prefix" />
SELECT C.CRDN_ID <!-- 단속 ID -->
, C.SGG_CD <!-- 시군구 코드 --> , C.SGG_CD <!-- 시군구 코드 -->
, C.TASK_SE_CD <!-- 업무 구분 코드 --> , C.TASK_SE_CD <!-- 업무 구분 코드 -->
, C.CRDN_REG_SE_CD <!-- 단속 등록 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM026', C.CRDN_REG_SE_CD) FROM DUAL) AS CRDN_REG_SE_NM <!-- 단속 등록 구분 명 -->
, C.CRDN_INPT_SE_CD <!-- 단속 입력 구분 코드 --> , C.CRDN_INPT_SE_CD <!-- 단속 입력 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM <!-- 단속 입력 구분 명 --> , (SELECT FN_GET_CODE_NM('FIM003', C.CRDN_INPT_SE_CD) FROM DUAL) AS CRDN_INPT_SE_NM <!-- 단속 입력 구분 명 -->
, C.CRDN_YMD <!-- 단속 일자 --> , C.CRDN_YMD <!-- 단속 일자 -->
, C.CRDN_TM <!-- 단속 시각 --> , C.CRDN_TM <!-- 단속 시각 -->
, (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM <!-- 단속 일시 --> , (CONCAT(C.CRDN_YMD, C.CRDN_TM)) AS CRDN_YMD_TM <!-- 단속 일시 -->
, FN_GET_MASK_DATETIME(C.CRDN_YMD, C.CRDN_TM, '-', ':') AS CRDN_YMD_TM_MASK <!-- 단속 일시 마스크 -->
, (SELECT VI.VLTN_CD FROM TB_VLTN_INFO VI
WHERE C.VLTN_ID=VI.VLTN_ID AND C.SGG_CD=VI.SGG_CD AND C.TASK_SE_CD=VI.TASK_SE_CD) AS VLTN_CD <!-- 위반 코드 -->
, C.VHRNO <!-- 차량번호 --> , C.VHRNO <!-- 차량번호 -->
, C.CRDN_STDG_NM <!-- 단속 법정동 명 --> , C.CRDN_STDG_NM <!-- 단속 법정동 명 -->
, C.CRDN_ROAD_NM <!-- 단속 도로 명 --> , C.CRDN_ROAD_NM <!-- 단속 도로 명 -->
, C.CRDN_PLC <!-- 단속 장소 --> , C.CRDN_PLC <!-- 단속 장소 -->
, C.FFNLG_AMT <!-- 과태료 금액 --> , C.FFNLG_AMT <!-- 과태료 금액 -->
, C.ADVNTCE_AMT <!-- 사전통지 금액 -->
, C.CRDN_STTS_CD <!-- 단속 상태 코드 --> , C.CRDN_STTS_CD <!-- 단속 상태 코드 -->
, (SELECT FN_GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM <!-- 단속 상태 명 --> , (SELECT FN_GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM <!-- 단속 상태 명 -->
, C.CRDN_STTS_CHG_DT <!-- 단속 상태 변경 일시 -->
, C.REG_DT <!-- 등록 일시 --> , C.REG_DT <!-- 등록 일시 -->
, C.RGTR <!-- 등록자 --> , C.RGTR <!-- 등록자 -->
, (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.RGTR) AS RGTR_NM <!-- 등록자 명 --> , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.RGTR) AS RGTR_NM <!-- 등록자 명 -->
, C.MDFCN_DT <!-- 수정 일시 --> , C.MDFCN_DT <!-- 수정 일시 -->
, C.MDFR <!-- 수정자 --> , C.MDFR <!-- 수정자 -->
, (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.MDFR) AS MDFR_NM <!-- 수정자 명 --> , (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = C.MDFR) AS MDFR_NM <!-- 수정자 명 -->
, CA.CRDN_SE_CD <!-- 단속 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM002', CA.CRDN_SE_CD) FROM DUAL) AS CRDN_SE_NM <!-- 단속 구분 명 -->
, CA.CRDN_SPAREA_CD <!-- 단속 특별구역 코드 -->
, (SELECT FN_GET_CODE_NM('FIM007', CA.CRDN_SPAREA_CD) FROM DUAL) AS CRDN_SPAREA_NM <!-- 단속 특별구역 명 -->
, CA.PARKNG_PSBLTY_RSLT_CD <!-- 주차 가능 결과 코드 -->
, (SELECT FN_GET_CODE_NM('FIM034', CA.PARKNG_PSBLTY_RSLT_CD) FROM DUAL) AS PARKNG_PSBLTY_RSLT_NM<!-- 주차 가능 결과 명 -->
, VI.VLTN_ID <!-- 위반 ID -->
, VI.VLTN_CD <!-- 위반 코드 -->
, VI.VLTN_ARTCL <!-- 위반 항목 -->
, CC.CVLCPT_LINK_ID <!-- 민원 연계 ID --> , CC.CVLCPT_LINK_ID <!-- 민원 연계 ID -->
, CC.CVLCPT_RCPT_YMD <!-- 민원 접수 일자 --> , CC.CVLCPT_RCPT_YMD <!-- 민원 접수 일자 -->
, CC.CVLCPT_APLY_NO <!-- 민원 신청 번호 --> , CC.CVLCPT_APLY_NO <!-- 민원 신청 번호 -->
, CC.CVLCPT_RCPT_NO <!-- 민원 접수 번호 --> , CC.CVLCPT_RCPT_NO <!-- 민원 접수 번호 -->
, CC.CVLCPT_APLY_DT <!-- 민원 신청 일시 -->
, CC.CVLCPT_APLY_TTL_NM <!-- 민원 신청 제목 명 -->
, CC.CVLCPT_GIST <!-- 민원 요지 -->
, (SELECT FN_GET_CODE_NM('FIM017', CC.CVLCPT_PRCS_CD) FROM DUAL) AS CVLCPT_PRCS_NM <!-- 민원 처리 명 -->
, CC.CVLCPT_PRCS_SUMRY <!-- 민원 처리 요약 --> , CC.CVLCPT_PRCS_SUMRY <!-- 민원 처리 요약 -->
, CC.CVLCPT_PRCS_RSLT_CN <!-- 민원 처리 결과 내용 --> , CC.CVLCPT_PRCS_CD <!-- 민원 처리 코드 -->
, CC.CVLCPT_PRCS_CMPTN_DT <!-- 민원 처리 완료 일시 --> , CC.CVLCPT_PRCS_CMPTN_DT <!-- 민원 처리 완료 일시 -->
, (SELECT FN_GET_CODE_NM('FIM018', CC.CVLCPT_TRSM_CD) FROM DUAL) AS CVLCPT_TRSM_NM <!-- 민원 전송 명 --> , CC.CVLCPT_TRSM_CD <!-- 민원 전송 코드 -->
, CC.CVLCPT_TRSM_DT <!-- 민원 전송 일시 --> , CC.CVLCPT_TRSM_DT <!-- 민원 전송 일시 -->
, P.RTPYR_ID <!-- 납부자 ID --> , P.RTPYR_ID <!-- 납부자 ID -->
, P.RTPYR_SE_CD <!-- 납부자 구분 코드 -->
, (SELECT FN_GET_CODE_NM('FIM011', P.RTPYR_SE_CD) FROM DUAL) AS RTPYR_SE_NM <!-- 납부자 구분 명 -->
, P.RTPYR_NO <!-- 납부자 번호 --> , P.RTPYR_NO <!-- 납부자 번호 -->
, P.RTPYR_NM <!-- 납부자 명 --> , P.RTPYR_NM <!-- 납부자 명 -->
, P.RTPYR_BRDT <!-- 납부자 생년월일 --> , P.RTPYR_BRDT <!-- 납부자 생년월일 -->
, (SELECT FN_GET_BRDT_FORMAT(P.RTPYR_BRDT, '.') FROM DUAL) AS RTPYR_BRDT_FORMAT <!-- 납부자 생년월일 -->
, P.ZIP <!-- 우편번호 --> , P.ZIP <!-- 우편번호 -->
, P.ADDR <!-- 주소 -->
, P.DTL_ADDR <!-- 상세 주소 -->
, LE.LEVY_EXCL_ID <!-- 부과 제외 ID -->
, LE.LEVY_EXCL_YMD <!-- 부과 제외 일자 -->
, LE.LEVY_EXCL_RSN_CD <!-- 부과 제외 사유 코드 -->
, (SELECT FN_GET_CODE_NM('FIM022', LE.LEVY_EXCL_RSN_CD) FROM DUAL) AS LEVY_EXCL_RSN_NM <!-- 부과 제외 사유 명 -->
, LE.ETC_CN <!-- 기타 내용 -->
, L.LEVY_ID <!-- 부과 ID -->
FROM TB_CRDN C FROM TB_CRDN C
INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID) INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID)
INNER JOIN TB_VLTN_INFO VI ON (C.VLTN_ID = VI.VLTN_ID)
LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CVLCPT_LINK_YN = 'Y' AND CC.DEL_YN = 'N') LEFT OUTER JOIN TB_CRDN_CVLCPT CC ON (C.LINK_ID = CC.CVLCPT_LINK_ID AND C.CVLCPT_LINK_YN = 'Y' AND CC.DEL_YN = 'N')
LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID) LEFT OUTER JOIN TB_PAYER P ON (C.RTPYR_ID = P.RTPYR_ID)
LEFT OUTER JOIN TB_LEVY_EXCL LE ON (C.CRDN_ID = LE.CRDN_ID AND LE.DEL_YN = 'N') WHERE C.SGG_CD = #{sggCd} <!-- 시군구 코드 -->
LEFT OUTER JOIN TB_LEVY L ON (C.CRDN_ID = L.CRDN_ID AND L.DEL_YN = 'N') AND C.TASK_SE_CD = #{taskSeCd} <!-- 업무 구분 코드 -->
<where> AND C.CRDN_STTS_CD = #{crdnSttsCd} <!-- 단속 상태 코드 -->
<if test="crdnIDs != null"> <if test="schCrdnYmdFrom != null">
AND C.CRDN_ID IN ( AND C.CRDN_YMD <![CDATA[ >= ]]> #{schCrdnYmdFrom} <!-- 단속 일자 시작 -->
<foreach collection="crdnIDs" item="crdnId" separator=","> #{crdnId} </foreach> </if>
) <if test="schCrdnYmdTo != null">
</if> AND C.CRDN_YMD <![CDATA[ <= ]]> #{schCrdnYmdTo} <!-- 단속 일자 종료 -->
<if test="crdnId != null"> </if>
AND C.CRDN_ID = #{crdnId} <!-- 단속 ID --> <if test="schVhrno != null">
</if> AND C.VHRNO = #{schVhrno} <!-- 차량번호 -->
</if>
<if test="schRtpyrNm != null">
AND P.RTPYR_NM = #{schRtpyrNm} <!-- 납부자 명 -->
</if>
<choose>
<when test="schDetailRegDtOpt == 'regDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 등록 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(LE.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 등록 일자 종료 -->
</if>
</when>
<when test="schDetailRegDtOpt == 'mdfcnDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 수정 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(LE.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 수정 일자 종료 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schDetailRgtrOpt == 'rgtr'">
<if test="schDetailRgtrCd != null">
AND LE.RGTR = #{schDetailRgtrCd} <!-- 등록자 코드 -->
</if>
</when>
<when test="schDetailRgtrOpt == 'mdfr'">
<if test="schDetailRgtrCd != null">
AND LE.MDFR = #{schDetailRgtrCd} <!-- 수정자 코드 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schDetailCrdnRegDtOpt == 'regDt'">
<if test="schDetailCrdnRegDtFrom != null">
AND SUBSTR(C.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailCrdnRegDtFrom} <!-- 등록 일자 시작 -->
</if>
<if test="schDetailCrdnRegDtTo != null">
AND SUBSTR(C.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailCrdnRegDtTo} <!-- 등록 일자 종료 -->
</if>
</when>
<when test="schDetailCrdnRegDtOpt == 'mdfcnDt'">
<if test="schDetailCrdnRegDtFrom != null">
AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailCrdnRegDtFrom} <!-- 수정 일자 시작 -->
</if>
<if test="schDetailCrdnRegDtTo != null">
AND SUBSTR(C.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailCrdnRegDtTo} <!-- 수정 일자 종료 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schDetailCrdnRgtrOpt == 'rgtr'">
<if test="schDetailCrdnRgtrCd != null">
AND C.RGTR = #{schDetailCrdnRgtrCd} <!-- 등록자 코드 -->
</if>
</when>
<when test="schDetailCrdnRgtrOpt == 'mdfr'">
<if test="schDetailCrdnRgtrCd != null">
AND C.MDFR = #{schDetailCrdnRgtrCd} <!-- 수정자 코드 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="crdnDelYn != null">
AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 -->
</when>
<otherwise>
AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
</otherwise>
</choose>
<if test="by != null and by != '' and term != null">
<choose> <choose>
<when test="crdnDelYn != null"> <when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
AND C.DEL_YN = #{crdnDelYn} <!-- 삭제 여부 --> <include refid="dynamicSearch.start" />
<choose>
<when test="by == 'levyExclYmd'"> LE.LEVY_EXCL_YMD </when>
<when test="by == 'levyExclRsnCd'"> LE.LEVY_EXCL_RSN_CD </when>
<when test="by == 'etcCn'"> LE.ETC_CN </when>
<when test="by == 'crdnYmd'"> C.CRDN_YMD </when>
<when test="by == 'vhrno'"> C.VHRNO </when>
<when test="by == 'crdnStdgNm'"> C.CRDN_STDG_NM </when>
<when test="by == 'crdnPlc'"> C.CRDN_PLC </when>
<when test="by == 'ffnlgCrdnAmt'"> C.FFNLG_CRDN_AMT </when>
<when test="by == 'ffnlgAmt'"> C.FFNLG_AMT </when>
<when test="by == 'advntceAmt'"> C.ADVNTCE_AMT </when>
<when test="by == 'crdnSttsCd'"> C.CRDN_STTS_CD </when>
<when test="by == 'rtpyrNm'"> P.RTPYR_NM </when>
<when test="by == 'rtpyrNo'"> P.RTPYR_NO </when>
<when test="by == 'rtpyrBrdt'"> P.RTPYR_BRDT </when>
</choose>
<include refid="dynamicSearch.center" />#{term}<include refid="dynamicSearch.end" />
</when> </when>
<otherwise> <otherwise>
AND C.DEL_YN = 'N' <!-- 삭제 여부 -->
</otherwise> </otherwise>
</choose> </choose>
</where> </if>
<include refid="utility.orderBy" /> <include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
</select> </select>
<sql id="selectSndng"> <sql id="selectSndng">
SELECT S.SNDNG_ID <!-- 발송 ID --> SELECT S.SNDNG_ID <!-- 발송 ID -->
, S.SGG_CD <!-- 시군구 코드 --> , S.SGG_CD <!-- 시군구 코드 -->
@ -365,6 +566,40 @@
<if test="sndngSeCd != null"> <if test="sndngSeCd != null">
AND S.SNDNG_SE_CD = #{sndngSeCd} <!-- 발송 구분 코드 --> AND S.SNDNG_SE_CD = #{sndngSeCd} <!-- 발송 구분 코드 -->
</if> </if>
<choose>
<when test="schDetailRegDtOpt == 'regDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(S.REG_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 등록 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(S.REG_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 등록 일자 종료 -->
</if>
</when>
<when test="schDetailRegDtOpt == 'mdfcnDt'">
<if test="schDetailRegDtFrom != null">
AND SUBSTR(S.MDFCN_DT,1,8) <![CDATA[ >= ]]> #{schDetailRegDtFrom} <!-- 수정 일자 시작 -->
</if>
<if test="schDetailRegDtTo != null">
AND SUBSTR(S.MDFCN_DT,1,8) <![CDATA[ <= ]]> #{schDetailRegDtTo} <!-- 수정 일자 종료 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schDetailRgtrOpt == 'rgtr'">
<if test="schDetailRgtrCd != null">
AND S.RGTR = #{schDetailRgtrCd} <!-- 등록자 코드 -->
</if>
</when>
<when test="schDetailRgtrOpt == 'mdfr'">
<if test="schDetailRgtrCd != null">
AND S.MDFR = #{schDetailRgtrCd} <!-- 수정자 코드 -->
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose> <choose>
<when test="delYn != null"> <when test="delYn != null">
AND S.DEL_YN = #{delYn} <!-- 삭제 여부 --> AND S.DEL_YN = #{delYn} <!-- 삭제 여부 -->

@ -34,7 +34,7 @@
<div class="row g-1"> <div class="row g-1">
<!-- 업무구분 --> <!-- 업무구분 -->
<div class="col-12"> <div class="col-12">
<label class="form-label fw-bold form-search-title">업무구분</label> <label class="form-label fw-bold form-search-title text-end">업무구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item"> <c:forEach items="${FIM054List}" var="item">
<label> <label>
@ -47,7 +47,7 @@
</div> </div>
<!-- 부과제외일자 --> <!-- 부과제외일자 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">부과제외일자</label> <label class="form-label fw-bold form-search-title text-end">부과제외일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schLevyExclYmdFrom--${pageName}" name="schLevyExclYmdFrom" <input type="text" class="form-control form-date" id="schLevyExclYmdFrom--${pageName}" name="schLevyExclYmdFrom"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
@ -77,8 +77,8 @@
<!-- </div> --> <!-- </div> -->
<!-- 부과제외구분 --> <!-- 부과제외구분 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">부과제외구분</label> <label class="form-label fw-bold form-search-title text-end">부과제외구분</label>
<select class="form-select w-px-150" id="schLevyExclSeCd--${pageName}" name="schLevyExclSeCd"> <select class="form-select w-px-100" id="schLevyExclSeCd--${pageName}" name="schLevyExclSeCd">
<option value="">전체</option> <option value="">전체</option>
<c:forEach items="${FIM021List}" var="item"> <c:forEach items="${FIM021List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -87,17 +87,17 @@
</div> </div>
<!-- 차량번호 --> <!-- 차량번호 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">차량번호</label> <label class="form-label fw-bold form-search-title text-end">차량번호</label>
<input type="text" class="form-control w-px-150" id="schVhrno--${pageName}" name="schVhrno" /> <input type="text" class="form-control w-px-150" id="schVhrno--${pageName}" name="schVhrno" />
</div> </div>
<!-- 납부자명 --> <!-- 납부자명 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">납부자명</label> <label class="form-label fw-bold form-search-title text-end">납부자명</label>
<input type="text" class="form-control w-px-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" /> <input type="text" class="form-control w-px-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" />
</div> </div>
<!-- 단속일자 --> <!-- 단속일자 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">단속일자</label> <label class="form-label fw-bold form-search-title text-end">단속일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom" <input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
@ -124,35 +124,33 @@
</span> </span>
</div> </div>
</div> </div>
</div> </div> <!-- / 메인 조건 -->
<!-- / 메인 조건 -->
<!-- 상세 조건 --> <!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row g-1"> <div class="row g-1">
<!-- 등록일자 --> <!-- 등록일자, 수정일자 -->
<div class="col-6"> <div class="col-6">
<select class="form-select" id="schRegDateOpt--${pageName}" name="schRegDateOpt"> <select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
<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="schRegDateFrom--${pageName}" name="schRegDateFrom" <input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
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="schRegDateTo--${pageName}" name="schRegDateTo" <input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
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" id="schDetailUserOpt--${pageName}" name="schDetailUserOpt"> <select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
<option value="rgtr">등록자</option> <option value="rgtr">등록자</option>
<option value="mdfr">수정자</option> <option value="mdfr">수정자</option>
</select> </select>
<input type="text" class="form-control" id="schDetailUserNm--${pageName}" name="schDetailUserNm" /> <input type="text" class="form-control" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" />
</div> </div>
</div> </div>
</div> </div>
@ -207,7 +205,7 @@
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">과태료금액</th> <th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">과태료금액</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th> <th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th> <th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'ymd', '');">납부자생일</th> <th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'match', 'part');">납부자생일</th>
<th class="cmn" style="width: 180px;">등록일시</th> <th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th> <th class="cmn" style="width: 140px;">등록사용자</th>
<th class="cmn" style="width: 180px;">수정일시</th> <th class="cmn" style="width: 180px;">수정일시</th>
@ -236,7 +234,7 @@
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td> <td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td> <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT_FORMAT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
@ -440,7 +438,7 @@
} }
// 검색 조건 파라미터 가져오기 // 검색 조건 파라미터 가져오기
fnGetParams${pageName} = () => { getParams${pageName} = () => {
let formFields = new FimsFormFields("#frmSearch--${pageName}"); let formFields = new FimsFormFields("#frmSearch--${pageName}");
let formData = formFields.get(); let formData = formFields.get();
@ -541,7 +539,7 @@
// 검색 // 검색
fnSearchList${pageName} = () => { fnSearchList${pageName} = () => {
// 검색조건 // 검색조건
${pageName}Control.query = fnGetParams${pageName}(); ${pageName}Control.query = getParams${pageName}();
${pageName}Control.query.delYn = "N"; // 삭제 여부 ${pageName}Control.query.delYn = "N"; // 삭제 여부
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부 ${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부

@ -34,7 +34,7 @@
<div class="row g-1"> <div class="row g-1">
<!-- 업무구분 --> <!-- 업무구분 -->
<div class="col-12"> <div class="col-12">
<label class="form-label fw-bold form-search-title">업무구분</label> <label class="form-label fw-bold form-search-title text-end">업무구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item"> <c:forEach items="${FIM054List}" var="item">
<label> <label>
@ -47,7 +47,7 @@
</div> </div>
<!-- 의견제출 접수일자 --> <!-- 의견제출 접수일자 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">접수일자</label> <label class="form-label fw-bold form-search-title text-end">접수일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schRcptYmdFrom--${pageName}" name="schRcptYmdFrom" <input type="text" class="form-control form-date" id="schRcptYmdFrom--${pageName}" name="schRcptYmdFrom"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
@ -60,7 +60,7 @@
</div> </div>
<!-- 의견제출 답변일자 --> <!-- 의견제출 답변일자 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">답변일자</label> <label class="form-label fw-bold form-search-title text-end">답변일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schAnsYmdFrom--${pageName}" name="schAnsYmdFrom" <input type="text" class="form-control form-date" id="schAnsYmdFrom--${pageName}" name="schAnsYmdFrom"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
@ -73,7 +73,7 @@
</div> </div>
<!-- 의견제출상태 --> <!-- 의견제출상태 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">의견제출상태</label> <label class="form-label fw-bold form-search-title text-end">의견제출상태</label>
<select class="form-select w-px-150" id="schOpnnSbmsnSttsCd--${pageName}" name="schOpnnSbmsnSttsCd"> <select class="form-select w-px-150" id="schOpnnSbmsnSttsCd--${pageName}" name="schOpnnSbmsnSttsCd">
<option value="">전체</option> <option value="">전체</option>
<c:forEach items="${FIM031List}" var="item"> <c:forEach items="${FIM031List}" var="item">
@ -83,12 +83,12 @@
</div> </div>
<!-- 차량번호 --> <!-- 차량번호 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">차량번호</label> <label class="form-label fw-bold form-search-title text-end">차량번호</label>
<input type="text" class="form-control w-px-150" id="schVhrno--${pageName}" name="schVhrno" /> <input type="text" class="form-control w-px-150" id="schVhrno--${pageName}" name="schVhrno" />
</div> </div>
<!-- 단속일자 --> <!-- 단속일자 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">단속일자</label> <label class="form-label fw-bold form-search-title text-end">단속일자</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom" <input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
data-fmt-type="day" title="시작 날짜 선택" /> data-fmt-type="day" title="시작 날짜 선택" />
@ -123,37 +123,37 @@
<div class="row g-1"> <div class="row g-1">
<!-- 진술자명 --> <!-- 진술자명 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">진술자명</label> <label class="form-label fw-bold form-search-title text-end">진술자명</label>
<input type="text" class="form-control w-px-150" id="schSttrNm--${pageName}" name="schSttrNm" /> <input type="text" class="form-control w-px-150" id="schSttrNm--${pageName}" name="schSttrNm" />
</div> </div>
<!-- 납부자명 --> <!-- 납부자명 -->
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title">납부자명</label> <label class="form-label fw-bold form-search-title text-end">납부자명</label>
<input type="text" class="form-control w-px-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" /> <input type="text" class="form-control w-px-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" />
</div> </div>
<!-- 등록일자, 수정일자 --> <!-- 등록일자, 수정일자 -->
<div class="col-6"> <div class="col-6">
<select class="form-select" id="schRegDateOpt--${pageName}" name="schRegDateOpt"> <select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
<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="schRegDateFrom--${pageName}" name="schRegDateFrom" <input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
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="schRegDateTo--${pageName}" name="schRegDateTo" <input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
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" id="schDetailUserOpt--${pageName}" name="schDetailUserOpt"> <select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
<option value="rgtr">등록자</option> <option value="rgtr">등록자</option>
<option value="mdfr">수정자</option> <option value="mdfr">수정자</option>
</select> </select>
<input type="text" class="form-control w-px-150" id="schDetailUserNm--${pageName}" name="schDetailUserNm" /> <input type="text" class="form-control" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" />
</div> </div>
</div> </div>
</div> </div>
@ -215,7 +215,7 @@
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('ANS_YMD', this.innerText, 'ymd', '');">답변일자</th> <th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('ANS_YMD', this.innerText, 'ymd', '');">답변일자</th>
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('ANS_CN', this.innerText, 'match', 'part');">답변내용</th> <th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('ANS_CN', this.innerText, 'match', 'part');">답변내용</th>
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th> <th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'ymd', '');">납부자생일</th> <th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'match', 'part');">납부자생일</th>
<th class="cmn" style="width: 180px;">등록일시</th> <th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th> <th class="cmn" style="width: 140px;">등록사용자</th>
<th class="cmn" style="width: 180px;">수정일시</th> <th class="cmn" style="width: 180px;">수정일시</th>
@ -248,7 +248,7 @@
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ANS_YMD}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ANS_YMD}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ANS_CN}</td> <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ANS_CN}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td> <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT_FORMAT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
@ -442,7 +442,7 @@
} }
// 검색 조건 파라미터 가져오기 // 검색 조건 파라미터 가져오기
fnGetParams${pageName} = () => { getParams${pageName} = () => {
let formFields = new FimsFormFields("#frmSearch--${pageName}"); let formFields = new FimsFormFields("#frmSearch--${pageName}");
let formData = formFields.get(); let formData = formFields.get();
@ -561,7 +561,7 @@
// 검색 // 검색
fnSearchList${pageName} = () => { fnSearchList${pageName} = () => {
// 검색조건 // 검색조건
${pageName}Control.query = fnGetParams${pageName}(); ${pageName}Control.query = getParams${pageName}();
${pageName}Control.query.delYn = "N"; // 삭제 여부 ${pageName}Control.query.delYn = "N"; // 삭제 여부
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부 ${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부

@ -5,7 +5,7 @@
<div class="content-wrapper"> <div class="content-wrapper">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<c:set var="prefixName" scope="request">단속재등록</c:set> <c:set var="prefixName" scope="request">단속 재등록</c:set>
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card">
@ -100,27 +100,27 @@
<div class="row g-1"> <div class="row g-1">
<!-- 등록일자, 수정일자 --> <!-- 등록일자, 수정일자 -->
<div class="col-6"> <div class="col-6">
<select class="form-select" id="schRegDateOpt--${pageName}" name="schRegDateOpt"> <select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
<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="schRegDateFrom--${pageName}" name="schRegDateFrom" <input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
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="schRegDateTo--${pageName}" name="schRegDateTo" <input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
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" id="schDetailUserOpt--${pageName}" name="schDetailUserOpt"> <select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
<option value="rgtr">등록자</option> <option value="rgtr">등록자</option>
<option value="mdfr">수정자</option> <option value="mdfr">수정자</option>
</select> </select>
<input type="text" class="form-control" id="schDetailUserNm--${pageName}" name="schDetailUserNm" /> <input type="text" class="form-control" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" />
</div> </div>
</div> </div>
</div> </div>
@ -358,7 +358,7 @@
} }
// 검색 조건 파라미터 가져오기 // 검색 조건 파라미터 가져오기
fnGetParams${pageName} = () => { getParams${pageName} = () => {
let formFields = new FimsFormFields("#frmSearch--${pageName}"); let formFields = new FimsFormFields("#frmSearch--${pageName}");
let formData = formFields.get(); let formData = formFields.get();
@ -441,7 +441,7 @@
// 검색 // 검색
fnSearchList${pageName} = () => { fnSearchList${pageName} = () => {
// 검색조건 // 검색조건
${pageName}Control.query = fnGetParams${pageName}(); ${pageName}Control.query = getParams${pageName}();
${pageName}Control.query.delYn = "N"; // 삭제 여부 ${pageName}Control.query.delYn = "N"; // 삭제 여부
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부 ${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부

@ -107,35 +107,33 @@
</span> </span>
</div> </div>
</div> </div>
</div> </div> <!-- / 메인 조건 -->
<!-- / 메인 조건 -->
<!-- 상세 조건 --> <!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row g-1"> <div class="row g-1">
<!-- 등록일자 --> <!-- 단속 등록일자, 수정일자 -->
<div class="col-6"> <div class="col-6">
<select class="form-select" id="schRegDateOpt--${pageName}" name="schRegDateOpt"> <select class="form-select text-center" id="schDetailCrdnRegDtOpt--${pageName}" name="schDetailCrdnRegDtOpt">
<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="schRegDateFrom--${pageName}" name="schRegDateFrom" <input type="text" class="form-control form-date" id="schDetailCrdnRegDtFrom--${pageName}" name="schDetailCrdnRegDtFrom"
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="schRegDateTo--${pageName}" name="schRegDateTo" <input type="text" class="form-control form-date" id="schDetailCrdnRegDtTo--${pageName}" name="schDetailCrdnRegDtTo"
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" id="schDetailUserOpt--${pageName}" name="schDetailUserOpt"> <select class="form-select text-center" id="schDetailCrdnRgtrOpt--${pageName}" name="schDetailCrdnRgtrOpt">
<option value="rgtr">등록자</option> <option value="rgtr">등록자</option>
<option value="mdfr">수정자</option> <option value="mdfr">수정자</option>
</select> </select>
<input type="text" class="form-control" id="schDetailUserNm--${pageName}" name="schDetailUserNm" /> <input type="text" class="form-control" id="schDetailCrdnRgtrNm--${pageName}" name="schDetailCrdnRgtrNm" />
</div> </div>
</div> </div>
</div> </div>
@ -154,10 +152,10 @@
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<!-- 업무 버튼 --> <!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnWrngSndngTrgInfo--${pageName}" title="계고장 발송 등록" onclick="fnWrngSndngTrgInfo${pageName}();"> <button type="button" class="btn btn-primary" id="btnWrngSndngTrg--${pageName}" title="계고장 발송 대상 등록" onclick="fnWrngSndngTrg${pageName}();">
계고장 발송 등록 계고장 발송 대상 등록
</button> </button>
<button type="button" class="btn btn-primary" id="btnLevyExclInfo--${pageName}" title="계고 수정" onclick="fnLevyExclInfo${pageName}();"> <button type="button" class="btn btn-primary" id="btnLevyExcl--${pageName}" title="계고 수정" onclick="fnLevyExcl${pageName}();">
계고 수정 계고 수정
</button> </button>
</span> </span>
@ -185,7 +183,10 @@
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th> <th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th> <th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">과태료금액</th> <th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">과태료금액</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th> <th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'match', 'part');">납부자생일</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('ZIP', this.innerText, 'match', 'part');">우편번호</th>
<th class="cmn" style="width: 180px;">등록일시</th> <th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th> <th class="cmn" style="width: 140px;">등록사용자</th>
<th class="cmn" style="width: 180px;">수정일시</th> <th class="cmn" style="width: 180px;">수정일시</th>
@ -210,6 +211,9 @@
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td> <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td> <td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ZIP}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
@ -219,7 +223,7 @@
</template> </template>
<template id="${infoPrefix}NotFound--${pageName}"> <template id="${infoPrefix}NotFound--${pageName}">
<tr class="odd"> <tr class="odd">
<td valign="top" colspan="16" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td> <td valign="top" colspan="19" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr> </tr>
</template> </template>
</table> </table>
@ -255,7 +259,7 @@
* DatasetControl * DatasetControl
**************************************************************************/ **************************************************************************/
var ${pageName}Control = new DatasetControl({ var ${pageName}Control = new DatasetControl({
prefix : "sndngTrgtInfo" prefix : "wrngSndngTrgt"
, prefixName : "계고장 발송 대상" , prefixName : "계고장 발송 대상"
, infoSize : "xxl" , infoSize : "xxl"
, keymapper : info => info ? info.CRDN_ID : "" , keymapper : info => info ? info.CRDN_ID : ""
@ -314,7 +318,7 @@
checkbox.prop("checked", keys.includes(checkbox.val())); checkbox.prop("checked", keys.includes(checkbox.val()));
}); });
$("#btnWrngSndngTrgInfo--${pageName}").prop("disabled", keys.length < 1); $("#btnWrngSndngTrg--${pageName}").prop("disabled", keys.length < 1);
}; };
// 개별총정보 dialog // 개별총정보 dialog
@ -401,7 +405,7 @@
} }
// 검색 조건 파라미터 가져오기 // 검색 조건 파라미터 가져오기
fnGetParams${pageName} = () => { getParams${pageName} = () => {
let formFields = new FimsFormFields("#frmSearch--${pageName}"); let formFields = new FimsFormFields("#frmSearch--${pageName}");
let formData = formFields.get(); let formData = formFields.get();
@ -414,7 +418,7 @@
} }
// 계고장 발송 등록 dialog -> callback 추가 // 계고장 발송 등록 dialog -> callback 추가
${pageName}Info = (params) => { getInfoWrngSndngTrg${pageName} = (params) => {
// 선택된 자료의 단속ID 추가 // 선택된 자료의 단속ID 추가
let selected = ${pageName}Control.dataset.getKeys("selected"); let selected = ${pageName}Control.dataset.getKeys("selected");
@ -439,7 +443,7 @@
} }
// 계고 수정 dialog -> callback 추가 // 계고 수정 dialog -> callback 추가
${pageName}levyExclInfo = (params) => { getInfoLevyExcl${pageName} = (params) => {
ajax.get({ ajax.get({
url : wctx.url("/" + params.taskSeCd + "/excl/excl01/020/info.do?openerPageName=${pageName}") url : wctx.url("/" + params.taskSeCd + "/excl/excl01/020/info.do?openerPageName=${pageName}")
, data : params || {} , data : params || {}
@ -527,7 +531,7 @@
// 검색 // 검색
fnSearchList${pageName} = () => { fnSearchList${pageName} = () => {
// 검색조건 // 검색조건
${pageName}Control.query = fnGetParams${pageName}(); ${pageName}Control.query = getParams${pageName}();
${pageName}Control.query.delYn = "N"; // 삭제 여부 ${pageName}Control.query.delYn = "N"; // 삭제 여부
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부 ${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부
${pageName}Control.query.crdnSttsCd = "83"; // 계고 ${pageName}Control.query.crdnSttsCd = "83"; // 계고
@ -541,7 +545,7 @@
} }
// 계고장 발송 등록 // 계고장 발송 등록
fnWrngSndngTrgInfo${pageName} = () => { fnWrngSndngTrg${pageName} = () => {
let params = { let params = {
callPurpose : "create" callPurpose : "create"
, sggCd : ${pageName}Control.dataset.getValue("SGG_CD") // 시군구 코드 , sggCd : ${pageName}Control.dataset.getValue("SGG_CD") // 시군구 코드
@ -549,11 +553,11 @@
, sndngSeCd : "10" // 발송 구분 코드 - 10 계고장 , sndngSeCd : "10" // 발송 구분 코드 - 10 계고장
}; };
${pageName}Info(params); getInfoWrngSndngTrg${pageName}(params);
} }
// 계고 수정 // 계고 수정
fnLevyExclInfo${pageName} = () => { fnLevyExcl${pageName} = () => {
let levyExclId = ${pageName}Control.dataset.getValue("LEVY_EXCL_ID"); let levyExclId = ${pageName}Control.dataset.getValue("LEVY_EXCL_ID");
// 부과제외ID 가 없다면.. return // 부과제외ID 가 없다면.. return
@ -568,7 +572,7 @@
, levyExclId : levyExclId , levyExclId : levyExclId
}; };
${pageName}levyExclInfo(params); getInfoLevyExcl${pageName}(params);
} }
/************************************************************************** /**************************************************************************

@ -126,7 +126,7 @@
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td> <td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td> <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT_FORMAT}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ZIP}</td> <td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ZIP}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ADDR}</td> <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ADDR}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DTL_ADDR}</td> <td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DTL_ADDR}</td>
@ -166,10 +166,10 @@
* DatasetControl * DatasetControl
**************************************************************************/ **************************************************************************/
var ${pageName}Control = new DatasetControl({ var ${pageName}Control = new DatasetControl({
prefix : "sndngTrgtInfo" prefix : "wrngSndngTrgtInfo"
, prefixName : "발송 대상" , prefixName : "계고장 발송 대상"
, keymapper : info => info ? info.CRDN_ID : "" , keymapper : info => info ? info.CRDN_ID : ""
, dataGetter : obj => obj.sndngTrgtInfoList , dataGetter : obj => obj.wrngSndngTrgtInfoList
, appendData : true , appendData : true
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부 , tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
, urls : { , urls : {
@ -362,7 +362,7 @@
fn_securityModeToggle($("#securityMode--top").is(":checked")); fn_securityModeToggle($("#securityMode--top").is(":checked"));
// Dataset 셋팅 - 화면이 열리면서 조회하는 경우 addData 하여 자료를 추가 // Dataset 셋팅 - 화면이 열리면서 조회하는 경우 addData 하여 자료를 추가
${pageName}Control.addData(${sndngTrgtInfo}); ${pageName}Control.addData(${wrngSndngTrgtInfo});
$("#sndngSeCd--${pageName}").val("${sndngSeCd}"); // 발송 구분 코드 $("#sndngSeCd--${pageName}").val("${sndngSeCd}"); // 발송 구분 코드
$("#sggCd--${pageName}").val(${pageName}Control.dataset.getValue("SGG_CD")); // 시군구 코드 $("#sggCd--${pageName}").val(${pageName}Control.dataset.getValue("SGG_CD")); // 시군구 코드

@ -74,35 +74,33 @@
</span> </span>
</div> </div>
</div> </div>
</div> </div> <!-- / 메인 조건 -->
<!-- / 메인 조건 -->
<!-- 상세 조건 --> <!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row g-1"> <div class="row g-1">
<!-- 등록일자 --> <!-- 등록일자, 수정일자 -->
<div class="col-6"> <div class="col-6">
<select class="form-select" id="schRegDateOpt--${pageName}" name="schRegDateOpt"> <select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
<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="schRegDateFrom--${pageName}" name="schRegDateFrom" <input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
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="schRegDateTo--${pageName}" name="schRegDateTo" <input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
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" id="schDetailUserOpt--${pageName}" name="schDetailUserOpt"> <select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
<option value="rgtr">등록자</option> <option value="rgtr">등록자</option>
<option value="mdfr">수정자</option> <option value="mdfr">수정자</option>
</select> </select>
<input type="text" class="form-control" id="schDetailUserNm--${pageName}" name="schDetailUserNm" /> <input type="text" class="form-control" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" />
</div> </div>
</div> </div>
</div> </div>
@ -265,7 +263,7 @@
$("#btnWrngSndngTrgInfo--${pageName}").prop("disabled", keys.length < 1); $("#btnWrngSndngTrgInfo--${pageName}").prop("disabled", keys.length < 1);
}; };
// 계고장 세부내용 // 계고장 세부 내용
${pageName}Control.getInfo = (sndngId) => { ${pageName}Control.getInfo = (sndngId) => {
let params = { let params = {
callPurpose : "view" callPurpose : "view"
@ -323,7 +321,7 @@
} }
// 검색 조건 파라미터 가져오기 // 검색 조건 파라미터 가져오기
fnGetParams${pageName} = () => { getParams${pageName} = () => {
let formFields = new FimsFormFields("#frmSearch--${pageName}"); let formFields = new FimsFormFields("#frmSearch--${pageName}");
let formData = formFields.get(); let formData = formFields.get();
@ -406,7 +404,7 @@
// 검색 // 검색
fnSearchList${pageName} = () => { fnSearchList${pageName} = () => {
// 검색조건 // 검색조건
${pageName}Control.query = fnGetParams${pageName}(); ${pageName}Control.query = getParams${pageName}();
${pageName}Control.query.sndngSeCd = "10"; // 발송 구분 코드 - 10 계고장 ${pageName}Control.query.sndngSeCd = "10"; // 발송 구분 코드 - 10 계고장
${pageName}Control.query.delYn = "N"; // 삭제 여부 ${pageName}Control.query.delYn = "N"; // 삭제 여부

@ -23,7 +23,7 @@
엑셀 엑셀
</button> </button>
<button type="button" class="btn btn-primary w-px-80" id="btnPrint--${pageName}" title="계고장 출력" onclick="fnPrint${pageName}();"> <button type="button" class="btn btn-primary w-px-80" id="btnPrint--${pageName}" title="계고장 출력" onclick="fnPrint${pageName}();">
발송 등록 계고장 출력
</button> </button>
</span> </span>
</span> </span>
@ -252,20 +252,15 @@
// 계고장 출력 // 계고장 출력
fnPrint${pageName} = () => { fnPrint${pageName} = () => {
let params = ${pageName}Fields.get();
// 선택된 자료의 발송 상세 ID 추가 // 선택된 자료의 발송 상세 ID 추가
let selected = ${pageName}Control.dataset.getKeys("selected"); let selected = ${pageName}Control.dataset.getKeys("selected");
if (selected.length < 1) return; if (selected.length < 1) return;
info.sndngDtlIDs = selected.join(","); // 발송 상세 IDs params.sndngDtlIDs = selected.join(","); // 발송 상세 IDs
info.delYn = "N"; // 삭제 여부 params.delYn = "N"; // 삭제 여부
// let createUrl = wctx.url(info.taskSeCd + ${pageName}PrefixUrl + "/020/create.do");
// ajax.post({
// url : createUrl
// , data : info
// , success : resp => ${pageName}Control.onSave(resp)
// });
} }

@ -0,0 +1,543 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- inner page html -->
<div class="content-wrapper">
<!-- Content -->
<div class="container-xxl flex-grow-1 px-0">
<c:set var="prefixName" scope="request">사전통지 발송 대상</c:set>
<!-- Page Body -->
<div class="card">
<div class="wrapper-list">
<div>
<!-- 상단 버튼 -->
<div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화" onclick="fnReset${pageName}();">
초기화
</button>
<span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
검색
</button>
<button type="button" class="btn btn-search" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
엑셀
</button>
</span>
</div>
<!-- / 상단 버튼 -->
<!-- 검색 조건 영역 -->
<form id="frmSearch--${pageName}" name="frmSearch">
<!-- 메인 조건 -->
<div class="container-search">
<div class="row g-1">
<!-- 업무구분 -->
<div class="col-12">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<label>
<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
value="${item.code}" onchange="fnResetAndChangeBiz${pageName}(this.value);">
${item.value}
</label>
</c:forEach>
</span>
</div>
<!-- 단속일자 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title">단속일자</label>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
data-fmt-type="day" title="종료 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<!-- 위반내역 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title">위반내역</label>
<select class="form-select" id="schVltnId--${pageName}" name="schVltnId">
<option value="">전체</option>
<c:forEach items="${FIM004List}" var="item">
<option value="${item.code}">${item.value}</option>
</c:forEach>
</select>
</div>
<!-- 차량번호 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title">차량번호</label>
<input type="text" class="form-control w-px-150" id="schVhrno--${pageName}" name="schVhrno" />
</div>
<!-- 납부자명 -->
<div class="col-6">
<label class="form-label fw-bold form-search-title">납부자명</label>
<input type="text" class="form-control w-px-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" />
</div>
<!-- -->
<div class="col-6">
</div>
<!-- 동적검색 -->
<div class="col-6">
<input type="hidden" id="by--${pageName}" name="by" />
<input type="text" class="form-control" id="byOutput--${pageName}" value="동적 검색" readonly />
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
<input type="hidden" id="subOption--${pageName}" name="subOption" />
<input type="text" class="form-control w-px-300" id="term--${pageName}" name="term" />
<!-- 상세 검색조건 버튼 -->
<span class="flr">
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
<i class="bx bx-chevron-down"></i>
상세검색
</button>
</span>
</div>
</div>
</div> <!-- / 메인 조건 -->
<!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
<div class="row g-1">
<!-- 단속 등록일자, 수정일자 -->
<div class="col-6">
<select class="form-select w-px-120 text-center" id="schDetailCrdnRegDtOpt--${pageName}" name="schDetailCrdnRegDtOpt">
<option value="regDt">단속 등록일자</option>
<option value="mdfcnDt">단속 수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schDetailCrdnRegDtFrom--${pageName}" name="schDetailCrdnRegDtFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schDetailCrdnRegDtTo--${pageName}" name="schDetailCrdnRegDtTo"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</span>
</div>
<!-- 단속 등록자명, 수정자명 -->
<div class="col-6">
<select class="form-select w-px-120 text-center" id="schDetailCrdnRgtrOpt--${pageName}" name="schDetailCrdnRgtrOpt">
<option value="rgtr">단속 등록자</option>
<option value="mdfr">단속 수정자</option>
</select>
<input type="text" class="form-control" id="schDetailCrdnRgtrNm--${pageName}" name="schDetailCrdnRgtrNm" />
</div>
</div>
</div>
<!-- / 상세 조건 -->
</form>
<!-- / 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 -->
<div>
<span class="container-page-btn">
<!-- 건수, 페이지 표시 -->
<div class="d-flex flex-row justify-content-between">
<label class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></label>
<ul class="pagination pagination-primary" id="paging--${pageName}">
</ul>
</div>
<span class="container-window-btn-right">
<!-- 업무 버튼 -->
<button type="button" class="btn btn-primary" id="btnAdvntceSndngTrg--${pageName}" title="사전통지 발송 대상 등록" onclick="fnAdvntceSndngTrg${pageName}();">
사전통지 발송 대상 등록
</button>
</span>
</span>
</div>
<!-- / 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
<div class="table-responsive" id="table-responsive--${pageName}" style="overflow-x:scroll; height:480px; overflow-y:scroll;" >
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
<thead class="sticky-thead">
<tr id="theadTr--${pageName}"
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
<th class="cmn" style="width: 72px;">NO.</th>
<th class="cmn" style="width: 56px;">
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
</th>
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">과태료금액</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('ADVNTCE_AMT', this.innerText, 'match', 'part');">사전통지금액</th>
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('PARKNG_PSBLTY_RSLT_CD', this.innerText, 'codeValue', 'FIM034');">주차가능여부</th>
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'match', 'part');">납부자생일</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('ZIP', this.innerText, 'match', 'part');">우편번호</th>
<th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 140px;">등록사용자</th>
<th class="cmn" style="width: 180px;">수정일시</th>
<th class="cmn" style="width: 140px;">수정사용자</th>
<th class="cmn dummy-th"></th>
</tr>
</thead>
<tbody id="tbody--${pageName}">
</tbody>
<template id="${infoPrefix}Row--${pageName}">
<tr data-key="{CRDN_ID}">
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
<td class="cmn text-center">
<input type="checkbox" class="form-check-input" value="{CRDN_ID}" onchange="${pageName}Control.select('{CRDN_ID}', this.checked);">
</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STDG_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{ADVNTCE_AMT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PARKNG_PSBLTY_RSLT_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ZIP}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
<td class="cmn dummy-td"></td>
</tr>
</template>
<template id="${infoPrefix}NotFound--${pageName}">
<tr class="odd">
<td valign="top" colspan="17" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
</tr>
</template>
</table>
</div>
</div>
</div>
<!-- / DataTables(그리드) -->
</div>
</div> <!-- <div class="wrapper-list"> -->
</div> <!-- <div class="card"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<jsp:include page="/WEB-INF/jsp/include/bottom.jsp" />
<div class="content-backdrop fade"></div>
</div>
<!-- / inner page html <div class="content-wrapper"> -->
<script>
/**************************************************************************
* Global Variable
**************************************************************************/
// URL
var ${pageName}PrefixUrl = "/sndb/sndb01";
// 공통 코드
var FIM004 = new CommonCodes(${FIM004}, true);
var FIM005 = new CommonCodes(${FIM005}, true);
var FIM006 = new CommonCodes(${FIM006}, true);
var FIM061 = new CommonCodes(${FIM061}, true);
var FIM064 = new CommonCodes(${FIM064}, true);
/**************************************************************************
* DatasetControl
**************************************************************************/
var ${pageName}Control = new DatasetControl({
prefix : "advntceSndngTrgt"
, prefixName : "사전통지 발송 대상"
, infoSize : "xxl"
, keymapper : info => info ? info.CRDN_ID : ""
, dataGetter : obj => obj.advntceSndngTrgtList
, appendData : true
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
, urls : {
load : wctx.url(${pageName}PrefixUrl + "/050/list.do") // 검색
, getInfo : wctx.url("/sprt/sprt02/010/main.do") // 개별총정보
}
, formats : {
CRDN_YMD_TM : datetimeFormat
, FFNLG_AMT : numberFormat
, ADVNTCE_AMT : numberFormat
, REG_DT : datetimeFormat
, MDFCN_DT : datetimeFormat
}
});
/**************************************************************************
* DatasetControl 이벤트
**************************************************************************/
// Dataset 변경 이벤트
${pageName}Control.onDatasetChange = obj => {
renderList${pageName}();
$("#paging--${pageName}").setPagingInfo({
list : ${pageName}Control.dataset
, prefix : "paging--${pageName}"
, start : obj.${infoPrefix}Start
, totalSize : obj.${infoPrefix}Total
, fetchSize : obj.${infoPrefix}Fetch
, func : "${pageName}Control.load({index})"
});
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
};
// 현재 선택 자료 변경 이벤트
${pageName}Control.onCurrentChange = item => {
if (!item) return;
let key = item.data.CRDN_ID;
$("#tbody--${pageName}").setCurrentRow(key);
};
// 선택(체크) 변경 이벤트
${pageName}Control.onSelectionChange = selected => {
let ${infoPrefix}List = ${pageName}Control.dataset;
let keys = selected.map(e => ${infoPrefix}List.getKey(e));
$("#tbody--${pageName} input[type='checkbox']").each(function() {
let checkbox = $(this);
checkbox.prop("checked", keys.includes(checkbox.val()));
});
$("#btnAdvntceSndngTrg--${pageName}").prop("disabled", keys.length < 1);
};
// 개별총정보 dialog
${pageName}Control.getInfo = (crdnId) => {
if (crdnId == undefined || crdnId == null || crdnId == "") {
return;
}
let params = {
callControlName : "${pageName}Control"
, crdnId : crdnId
}
ajax.get({
url : ${pageName}Control.urls.getInfo
, data : params || {}
, success : resp => {
dialog.open({
id : "totalInfoMainDialog"
, title : "개별총정보"
, content : resp
, size : "xxl"
, init : () => { }
, onClose : () => { }
});
}
});
}
/**************************************************************************
*
**************************************************************************/
// DataTables에 click, dbclick 이벤트
renderList${pageName} = () => {
let ${infoPrefix}List = ${pageName}Control.dataset;
let empty = ${infoPrefix}List.empty;
let trs = empty ?
[document.getElementById("${infoPrefix}NotFound--${pageName}").innerHTML] : <%-- from template#${infoPrefix}NotFound --%>
${infoPrefix}List.inStrings(
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
(str, dataItem) => str
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("CRDN_ID") + "');")
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CRDN_ID") + "');")
);
$("#tbody--${pageName}").html(trs.join());
$("th input[type='checkbox']").prop("checked", false);
//보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
}
// 업무구분 변경
fnResetAndChangeBiz${pageName} = (taskSeCd) => {
initForm${pageName}();
${pageName}Control.urls.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/050/list.do"); // 조회
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
// 업무에 따른 위반 내용
let vltnIdCode = [];
if (taskSeCd == "PVS") { // 주정차 위반
vltnIdCode = FIM004.list();
} else if (taskSeCd == "BPV") { // 전용차로 위반
vltnIdCode = FIM005.list();
} else if (taskSeCd == "DPV") { // 장애인 전용
vltnIdCode = FIM006.list();
} else if (taskSeCd == "ECA") { // 전기차 주차 위반
vltnIdCode = FIM061.list();
} else if (taskSeCd == "TPV") { // 밤샘 주차 위반
vltnIdCode = FIM064.list();
} else {
return;
}
// 항목 초기화
$("#schVltnId--${pageName}").empty();
$("#schVltnId--${pageName}").append("<option value=''>" + "전체" + "</option>");
$(vltnIdCode).each(function(index, item) {
$("#schVltnId--${pageName}").append("<option value='" + vltnIdCode[index].code +"'>" + vltnIdCode[index].value + "</option>");
})
}
// 검색 조건 파라미터 가져오기
getParams${pageName} = () => {
let formFields = new FimsFormFields("#frmSearch--${pageName}");
let formData = formFields.get();
formData.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수
// 나중에 삭제
formData.sggCd = "41480"; // 시군구 코드 임시
return formData;
}
// 사전통지 발송 등록 dialog -> callback 추가
getInfoAdvntceSndngTrg${pageName} = (params) => {
// 선택된 자료의 단속ID 추가
let selected = ${pageName}Control.dataset.getKeys("selected");
if (selected.length < 1) return;
params["crdnIDs"] = selected.join(",");
ajax.get({
url : wctx.url("/" + params.taskSeCd + ${pageName}PrefixUrl + "/020/info.do")
, data : params || {}
, success : resp => {
dialog.open({
id : ${pageName}Control.prefixed("Dialog")
, title : ${pageName}Control.prefixName + " 정보"
, content : resp
, size : "xl"
, init : () => { }
, onClose : () => { ${pageName}Control.load(${pageName}Control.query.pageNum); } // callback
});
}
});
}
/**************************************************************************
* 초기 셋팅
**************************************************************************/
// 화면 초기값 셋팅
initForm${pageName} = () => {
// 달력 초기화
initDatepicker("frmSearch--${pageName}");
$("#schCrdnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-90).date);
$("#schCrdnYmdTo--${pageName}").datepicker("setDate", new Date());
${pageName}Control.dataset.clear();
}
// 이벤트
setEvent${pageName} = () => {
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
$("#frmSearch--${pageName}").find(".form-date").each(function() {
$(this).on("input", function() {
let value = this.value.replaceAll("-", "");
if (value.length > 7) {
this.value = value.substring(0, 4) + "-" + value.substring(4, 6) + "-" + value.substring(6);
} else if(value.length > 5) {
this.value = value.substring(0, 4) + "-" + value.substring(4);
}
});
});
// DataTables width 변경 조정
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
// DataTables 스크롤 이벤트
$("#table-responsive--${pageName}").scroll(function() {
let el = $(this);
if (el.scrollTop() == 0) {
return;
}
if (!${pageName}Control.tableRenderComplete) {
return;
}
let itemsCnt = ${pageName}Control.dataset._items.length;
let totCnt = ${pageName}Control.dataset.getValue("TOT_CNT"); // let totCnt = ${pageName}Control.dataset.getCurrent("item").data.TOT_CNT;
if (itemsCnt >= totCnt) {
return;
}
if ((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()) {
${pageName}Control.tableRenderComplete = false; // dataTables 에 자료 추가 완료
${pageName}Control.load(${pageName}Control.query.pageNum + 1);
}
});
}
/**************************************************************************
* 버튼 clickEvent
**************************************************************************/
// 초기화
fnReset${pageName} = () => {
let taskSeCd = $("#layout-navbar input[name='taskSeCd']:checked").val();
fnResetAndChangeBiz${pageName}(taskSeCd);
}
// 검색
fnSearchList${pageName} = () => {
// 검색조건
${pageName}Control.query = getParams${pageName}();
${pageName}Control.query.delYn = "N"; // 삭제 여부
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부
${pageName}Control.query.crdnSttsCd = "21"; // 21 납부자 등록
${pageName}Control.load();
}
// 엑셀
fnExcel${pageName} = () => {
}
// 사전통지 발송 대상 등록
fnAdvntceSndngTrg${pageName} = () => {
let params = {
callPurpose : "create"
, sggCd : ${pageName}Control.dataset.getValue("SGG_CD") // 시군구 코드
, taskSeCd : ${pageName}Control.dataset.getValue("TASK_SE_CD") // 업무 구분 코드
, sndngSeCd : "10" // 발송 구분 코드 - 10 계고장
};
getInfoAdvntceSndngTrg${pageName}(params);
}
/**************************************************************************
* script 진입
**************************************************************************/
$(document).ready(function() {
// 이벤트 설정
setEvent${pageName}();
// 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
// 업무구분 및 화면 초기 설정
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
fnResetAndChangeBiz${pageName}(defaultBizValue);
});
</script>
Loading…
Cancel
Save