전자우편 등록 추가.

main
jjh 1 year ago
parent f59a72b8e5
commit bea8de67e0

@ -0,0 +1,366 @@
package cokr.xit.fims.epst;
import cokr.xit.fims.cmmn.CmmnQuery;
/**
*
* <p> :
*
* <pre>
* ============ ============
* 2023-08-24 JoJH
* ================================
* </pre>
*/
public class EpostQuery extends CmmnQuery {
private static final long serialVersionUID = 1L;
// ID
private String[] crdnIDs; // 단속 IDs
private String crdnId; // 단속 ID
private String[] sndngIDs; // 발송 IDs
private String sndngId; // 발송 ID
private String[] sndngDtlIDs; // 발송 상세 IDs
private String sndngDtlId; // 발송 상세 ID
private String[] svbtcIDs; // 공시송달 IDs
private String svbtcId; // 공시송달 ID
// 검색 조건
private String schLevyExclYmdFrom; // 부과제외_부과제외 일자 시작
private String schLevyExclYmdTo; // 부과제외_부과제외 일자 종료
private String schLevyExclSeCd; // 부과제외_부과제외 구분 코드
private String schVhrno; // 단속(TB_CRDN)_차량번호
private String schCrdnYmdFrom; // 단속(TB_CRDN)_단속 일자 시작
private String schCrdnYmdTo; // 단속(TB_CRDN)_단속 일자 종료
private String schRtpyrNm; // 납부자(TB_PAYER)_납부자 명
private String schSndngYmdFrom; // 발송 대장(TB_SNDNG)_발송 일자 시작
private String schSndngYmdTo; // 발송 대장(TB_SNDNG)_발송 일자 종료
// 상세 검색 조건
private String schDetailRegDtOpt; // 상세 검색 등록 일자 구분
private String schDetailRegDtFrom; // 상세 검색 등록 일자 시작
private String schDetailRegDtTo; // 상세 검색 등록 일자 종료
private String schDetailRgtrOpt; // 상세 검색 등록 사용자 구분
private String schDetailRgtrNm; // 상세 검색 등록 사용자 명
private String schDetailRgtrCd; // 상세 검색 등록 사용자 코드
// 동적 검색 조건
private String vhrno; // 단속(TB_CRDN)_차량번호
private String rtpyrNm; // 납부자(TB_PAYER)_납부자 명
private String crdnSttsCd; // 단속(TB_CRDN)_단속 상태 코드
private String sndngSeCd; // 발송 구분 코드
// ETC
private String callPurpose; // 자료 조회시 호출용도. (view 조회, create 등록, update 수정, refresh 재조회)
private String delYn; // 삭제 여부
private String delRsn; // 삭제 사유
private String crdnDelYn; // 단속 삭제 여부
public String[] getCrdnIDs() {
return ifEmpty(crdnIDs, () -> null);
}
public <T extends EpostQuery> T setCrdnIDs(String... crdnIDs) {
this.crdnIDs = crdnIDs;
return self();
}
public String getCrdnId() {
return ifEmpty(crdnId, () -> null);
}
public <T extends EpostQuery> T setCrdnId(String crdnId) {
this.crdnId = crdnId;
return self();
}
public String[] getSndngIDs() {
return ifEmpty(sndngIDs, () -> null);
}
public <T extends EpostQuery> T setSndngIDs(String... sndngIDs) {
this.sndngIDs = sndngIDs;
return self();
}
public String getSndngId() {
return ifEmpty(sndngId, () -> null);
}
public <T extends EpostQuery> T setSndngId(String sndngId) {
this.sndngId = sndngId;
return self();
}
public String[] getSndngDtlIDs() {
return ifEmpty(sndngDtlIDs, () -> null);
}
public <T extends EpostQuery> T setSndngDtlIDs(String... sndngDtlIDs) {
this.sndngDtlIDs = sndngDtlIDs;
return self();
}
public String getSndngDtlId() {
return ifEmpty(sndngDtlId, () -> null);
}
public <T extends EpostQuery> T setSndngDtlId(String sndngDtlId) {
this.sndngDtlId = sndngDtlId;
return self();
}
public String[] getSvbtcIDs() {
return ifEmpty(svbtcIDs, () -> null);
}
public <T extends EpostQuery> T setSvbtcIDs(String... svbtcIDs) {
this.svbtcIDs = svbtcIDs;
return self();
}
public String getSvbtcId() {
return ifEmpty(svbtcId, () -> null);
}
public <T extends EpostQuery> T setSvbtcId(String svbtcId) {
this.svbtcId = svbtcId;
return self();
}
public String getSchLevyExclYmdFrom() {
return ifEmpty(schLevyExclYmdFrom, () -> null);
}
public <T extends EpostQuery> T setSchLevyExclYmdFrom(String schLevyExclYmdFrom) {
this.schLevyExclYmdFrom = schLevyExclYmdFrom;
return self();
}
public String getSchLevyExclYmdTo() {
return ifEmpty(schLevyExclYmdTo, () -> null);
}
public <T extends EpostQuery> T setSchLevyExclYmdTo(String schLevyExclYmdTo) {
this.schLevyExclYmdTo = schLevyExclYmdTo;
return self();
}
public String getSchLevyExclSeCd() {
return ifEmpty(schLevyExclSeCd, () -> null);
}
public <T extends EpostQuery> T setSchLevyExclSeCd(String schLevyExclSeCd) {
this.schLevyExclSeCd = schLevyExclSeCd;
return self();
}
public String getSchVhrno() {
return ifEmpty(schVhrno, () -> null);
}
public <T extends EpostQuery> T setSchVhrno(String schVhrno) {
this.schVhrno = schVhrno;
return self();
}
public String getSchCrdnYmdFrom() {
return ifEmpty(schCrdnYmdFrom, () -> null);
}
public <T extends EpostQuery> T setSchCrdnYmdFrom(String schCrdnYmdFrom) {
this.schCrdnYmdFrom = schCrdnYmdFrom;
return self();
}
public String getSchCrdnYmdTo() {
return ifEmpty(schCrdnYmdTo, () -> null);
}
public <T extends EpostQuery> T setSchCrdnYmdTo(String schCrdnYmdTo) {
this.schCrdnYmdTo = schCrdnYmdTo;
return self();
}
public String getSchRtpyrNm() {
return ifEmpty(schRtpyrNm, () -> null);
}
public <T extends EpostQuery> T setSchRtpyrNm(String schRtpyrNm) {
this.schRtpyrNm = schRtpyrNm;
return self();
}
public String getSchSndngYmdFrom() {
return ifEmpty(schSndngYmdFrom, () -> null);
}
public <T extends EpostQuery> T setSchSndngYmdFrom(String schSndngYmdFrom) {
this.schSndngYmdFrom = schSndngYmdFrom;
return self();
}
public String getSchSndngYmdTo() {
return ifEmpty(schSndngYmdTo, () -> null);
}
public <T extends EpostQuery> T setSchSndngYmdTo(String schSndngYmdTo) {
this.schSndngYmdTo = schSndngYmdTo;
return self();
}
// 상세 검색 조건 ///////////////////////////////////////////////////////////////
public String getSchDetailRegDtOpt() {
return ifEmpty(schDetailRegDtOpt, () -> null);
}
public <T extends EpostQuery> T setSchDetailRegDtOpt(String schDetailRegDtOpt) {
this.schDetailRegDtOpt = schDetailRegDtOpt;
return self();
}
public String getSchDetailRegDtFrom() {
return ifEmpty(schDetailRegDtFrom, () -> null);
}
public <T extends EpostQuery> T setSchDetailRegDtFrom(String schDetailRegDtFrom) {
this.schDetailRegDtFrom = schDetailRegDtFrom;
return self();
}
public String getSchDetailRegDtTo() {
return ifEmpty(schDetailRegDtTo, () -> null);
}
public <T extends EpostQuery> T setSchDetailRegDtTo(String schDetailRegDtTo) {
this.schDetailRegDtTo = schDetailRegDtTo;
return self();
}
public String getSchDetailRgtrOpt() {
return ifEmpty(schDetailRgtrOpt, () -> null);
}
public <T extends EpostQuery> T setSchDetailRgtrOpt(String schDetailRgtrOpt) {
this.schDetailRgtrOpt = schDetailRgtrOpt;
return self();
}
public String getSchDetailRgtrNm() {
return ifEmpty(schDetailRgtrNm, () -> null);
}
public <T extends EpostQuery> T setSchDetailRgtrNm(String schDetailRgtrNm) {
this.schDetailRgtrNm = schDetailRgtrNm;
return self();
}
public String getSchDetailRgtrCd() {
return ifEmpty(schDetailRgtrCd, () -> null);
}
public <T extends EpostQuery> T setSchDetailRgtr(String schDetailRgtrCd) {
this.schDetailRgtrCd = schDetailRgtrCd;
return self();
}
// 상세검색 조건 ///////////////////////////////////////////////////////////////
// 동적 검색 조건 ///////////////////////////////////////////////////////////////
public String getVhrno() {
return ifEmpty(vhrno, () -> null);
}
public <T extends EpostQuery> T setVhrno(String vhrno) {
this.vhrno = vhrno;
return self();
}
public String getRtpyrNm() {
return ifEmpty(rtpyrNm, () -> null);
}
public <T extends EpostQuery> T setRtpyrNm(String rtpyrNm) {
this.rtpyrNm = rtpyrNm;
return self();
}
public String getCrdnSttsCd() {
return ifEmpty(crdnSttsCd, () -> null);
}
public <T extends EpostQuery> T setCrdnSttsCd(String crdnSttsCd) {
this.crdnSttsCd = crdnSttsCd;
return self();
}
public String getSndngSeCd() {
return ifEmpty(sndngSeCd, () -> null);
}
public <T extends EpostQuery> T setSndngSeCd(String sndngSeCd) {
this.sndngSeCd = sndngSeCd;
return self();
}
// 동적 검색 조건 ///////////////////////////////////////////////////////////////
// ETC /////////////////////////////////////////////////////////////////////
public String getCallPurpose() {
return ifEmpty(callPurpose, () -> null);
}
public <T extends EpostQuery> T setCallPurpose(String callPurpose) {
this.callPurpose = callPurpose;
return self();
}
public String getDelYn() {
return ifEmpty(delYn, () -> null);
}
public <T extends EpostQuery> T setDelYn(String delYn) {
this.delYn = delYn;
return self();
}
public String getDelRsn() {
return ifEmpty(delRsn, () -> null);
}
public <T extends EpostQuery> T setDelRsn(String delRsn) {
this.delRsn = delRsn;
return self();
}
public String getCrdnDelYn() {
return ifEmpty(crdnDelYn, () -> null);
}
public <T extends EpostQuery> T setCrdnDelYn(String crdnDelYn) {
this.crdnDelYn = crdnDelYn;
return self();
}
// ETC /////////////////////////////////////////////////////////////////////
}

@ -0,0 +1,344 @@
package cokr.xit.fims.epst;
import cokr.xit.foundation.AbstractEntity;
import lombok.Getter;
import lombok.Setter;
/**
*
* @author mjkhan
*/
@Getter
@Setter
public class EpostRcptDtl extends AbstractEntity {
/**
*
*/
private String conKey;
/**
*
*/
private String rgstNmbr;
/**
*
*/
private String recevSeq;
/**
*
*/
private String recevCode;
/**
*
*/
private String recevBar1d;
/**
*
*/
private String recevBar2d;
/**
*
*/
private String recevBillNunber;
/**
* 1
*/
private String recevDocCd1;
/**
* 2
*/
private String recevDocCd2;
/**
* 3
*/
private String recevDocCd3;
/**
* 4
*/
private String recevDocCd4;
/**
* 5
*/
private String recevDocCd5;
/**
* 1
*/
private String recevSubj1;
/**
* 2
*/
private String recevSubj2;
/**
* 3
*/
private String recevSubj3;
/**
*
*/
private String recevViolateDt;
/**
*
*/
private String recevViolateDong;
/**
*
*/
private String recevViolatePlace;
/**
*
*/
private String recevLaws;
/**
* 1
*/
private String recevPayNumber1;
/**
* 2
*/
private String recevPayNumber2;
/**
* OCR0
*/
private String recevOcr0;
/**
* OCR1
*/
private String recevOcr1;
/**
* OCR2
*/
private String recevOcr2;
/**
*
*/
private String recevOnlinePayNumber;
/**
*
*/
private String recevFinePrice;
/**
*
*/
private String recevPayPrice;
/**
*
*/
private String recevPayDt;
/**
*
*/
private String recevPayInDate;
/**
*
*/
private String recevPayInPrice;
/**
*
*/
private String recevPayInAddPrice;
/**
*
*/
private String recevPayInDefaultPrice;
/**
*
*/
private String recevPayOutDate;
/**
*
*/
private String recevPayOutPrice;
/**
*
*/
private String recevPayOutAddPrice;
/**
*
*/
private String recevPayOutDefaultPrice;
/**
*
*/
private String recevCarNumber;
/**
*
*/
private String recevCarOwnerZipcode;
/**
*
*/
private String recevCarOwnerAddr;
/**
*
*/
private String recevCarOwnerDetailaddr;
/**
*
*/
private String recevCarOwnerNm;
/**
*
*/
private String recevCarOwnerSsn;
/**
*
*/
private String recevEvidenceNumber;
/**
*
*/
private String recevPhotoCnt;
/**
* 1
*/
private String recevPhotoFilename1;
/**
* 2
*/
private String recevPhotoFilename2;
/**
* 3
*/
private String recevPhotoFilename3;
/**
* 4
*/
private String recevPhotoFilename4;
/**
* 2
*/
private String vractno2;
/**
* 3
*/
private String vractno3;
/**
* 4
*/
private String vractno4;
/**
* 5
*/
private String vractno5;
/**
* 6
*/
private String vractno6;
/**
* 7
*/
private String vractno7;
/**
* 8
*/
private String vractno8;
/**
* 9
*/
private String vractno9;
/**
* 10
*/
private String vractno10;
/**
* 11
*/
private String vractno11;
/**
* ID
*/
private String dlvrRsltId;
/**
*
*/
private String makeRsltCd;
/**
*
*/
private String vractno;
/**
* 1
*/
private String dtlVarData1;
/**
* 2
*/
private String dtlVarData2;
/**
* 3
*/
private String dtlVarData3;
/**
* 4
*/
private String dtlVarData4;
/**
* 5
*/
private String dtlVarData5;
}

@ -0,0 +1,240 @@
package cokr.xit.fims.epst;
import cokr.xit.foundation.AbstractEntity;
import lombok.Getter;
import lombok.Setter;
/**
*
* @author JoJH
*/
@Getter
@Setter
public class EpostRcptReg extends AbstractEntity {
/**
*
*/
private String conKey;
/**
*
*/
private String rceptId;
/**
*
*/
private String dataCd;
/**
*
*/
private String divKb;
/**
*
*/
private String dfpayyn;
/**
*
*/
private String rcptKb;
/**
*
*/
private String sealCd;
/**
*
*/
private String wordKb;
/**
*
*/
private Integer mailCnt;
/**
*
*/
private Integer recevCnt;
/**
*
*/
private String envCd;
/**
*
*/
private String colorYn;
/**
*
*/
private String mmYn;
/**
*
*/
private String flexCd;
/**
*
*/
private Integer dmCnt;
/**
*
*/
private String sbFg;
/**
*
*/
private String apvlNb;
/**
*
*/
private String sendDate;
/**
*
*/
private String sendTime;
/**
*
*/
private String relorsectCd;
/**
*
*/
private String recevSenderOrgCode;
/**
*
*/
private String recevSenderNm;
/**
*
*/
private String recevSenderZipcode;
/**
*
*/
private String recevSenderAddr;
/**
*
*/
private String recevSenderDetailaddr;
/**
*
*/
private String recevSenderDepartTel;
/**
*
*/
private String recevSenderDepartNm;
/**
*
*/
private String recevDivCd;
/**
*
*/
private String recevPrintDt;
/**
*
*/
private String recevPrintYear;
/**
*
*/
private String recevPrintMonth;
/**
*
*/
private String recevPrintDay;
/**
*
*/
private String recevSenderFax;
/**
*
*/
private String recevSerderStaff;
/**
*
*/
private String recevSenderEmail;
/**
* ID
*/
private String sndngId;
/**
*
*/
private String jobCd;
/**
*
*/
private String postProcStt;
/**
*
*/
private String rceptYmd;
/**
*
*/
private String delYn;
/**
* 1
*/
private String regVarData1;
/**
* 2
*/
private String regVarData2;
/**
* 3
*/
private String regVarData3;
/**
* 4
*/
private String regVarData4;
/**
* 5
*/
private String regVarData5;
}

@ -0,0 +1,99 @@
package cokr.xit.fims.epst.dao;
import java.util.List;
import java.util.Map;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.EpostRcptDtl;
import cokr.xit.fims.epst.EpostQuery;
/** DAO
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-11 JoJH
* ================================
* </pre>
*/
@Mapper("epostRcptDtlMapper")
public interface EpostRcptDtlMapper extends AbstractMapper {
/** .<br />
* @param req
* @return
*/
List<DataObject> selectEpostRcptDtlList(EpostQuery req);
/** .
* @param req
* @return
*/
List<EpostRcptDtl> selectEpostRcptDtls(EpostQuery req);
/** .
* @param params
* <ul><li>"epostRcptDtl" - </li>
* <li>"currentUser" - </li>
* </ul>
* @return
*/
int insertEpostRcptDtl(Map<String, Object> params);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
default boolean insert(EpostRcptDtl epostRcptDtl) {
return epostRcptDtl != null && insertEpostRcptDtl(params().set("epostRcptDtl", epostRcptDtl)) == 1;
}
/** .
* @param params
* <ul><li>"epostRcptDtl" - </li>
* <li>"currentUser" - </li>
* </ul>
* @return
*/
int updateEpostRcptDtl(Map<String, Object> params);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
default boolean update(EpostRcptDtl epostRcptDtl) {
return epostRcptDtl != null && updateEpostRcptDtl(params().set("epostRcptDtl", epostRcptDtl)) == 1;
}
/** .
* @param params
* <ul><li>"epostRcptDtl" - </li>
* <li>"currentUser" - </li>
* </ul>
* @return
*/
int deleteEpostRcptDtl(Map<String, ?> params);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
default boolean delete(EpostRcptDtl epostRcptDtl) {
return epostRcptDtl != null && deleteEpostRcptDtl(params().set("epostRcptDtl", epostRcptDtl)) == 1;
}
}

@ -0,0 +1,99 @@
package cokr.xit.fims.epst.dao;
import java.util.List;
import java.util.Map;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.EpostQuery;
/** DAO
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-11 JoJH
* ================================
* </pre>
*/
@Mapper("epostRcptRegMapper")
public interface EpostRcptRegMapper extends AbstractMapper {
/** .<br />
* @param req
* @return
*/
List<DataObject> selectEpostRcptRegList(EpostQuery req);
/** .
* @param req
* @return
*/
List<EpostRcptReg> selectEpostRcptRegs(EpostQuery req);
/** .
* @param params
* <ul><li>"epostRcptReg" - </li>
* <li>"currentUser" - </li>
* </ul>
* @return
*/
int insertEpostRcptReg(Map<String, Object> params);
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
default boolean insert(EpostRcptReg epostRcptReg) {
return epostRcptReg != null && insertEpostRcptReg(params().set("epostRcptReg", epostRcptReg)) == 1;
}
/** .
* @param params
* <ul><li>"epostRcptReg" - </li>
* <li>"currentUser" - </li>
* </ul>
* @return
*/
int updateEpostRcptReg(Map<String, Object> params);
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
default boolean update(EpostRcptReg epostRcptReg) {
return epostRcptReg != null && updateEpostRcptReg(params().set("epostRcptReg", epostRcptReg)) == 1;
}
/** .
* @param params
* <ul><li>"epostRcptReg" - </li>
* <li>"currentUser" - </li>
* </ul>
* @return
*/
int deleteEpostRcptReg(Map<String, ?> params);
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
default boolean delete(EpostRcptReg epostRcptReg) {
return epostRcptReg != null && deleteEpostRcptReg(params().set("epostRcptReg", epostRcptReg)) == 1;
}
}

@ -0,0 +1,100 @@
package cokr.xit.fims.epst.service;
import java.util.List;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptDtl;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-11 mjkhan
* ================================
* </pre>
*/
public interface EpostRcptRegService {
/** .
* @param req
* @return
*/
List<DataObject> getEpostRcptRegList(EpostQuery req);
/** .
* @param req
* @return
*/
List<EpostRcptReg> getEpostRcptRegs(EpostQuery req);
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean createEpostRcptReg(EpostRcptReg epostRcptReg);
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean updateEpostRcptReg(EpostRcptReg epostRcptReg);
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean removeEpostRcptReg(EpostRcptReg epostRcptReg);
/** .
* @param req
* @return
*/
List<DataObject> getEpostRcptDtlList(EpostQuery req);
/** .
* @param req
* @return
*/
List<EpostRcptDtl> getEpostRcptDtls(EpostQuery req);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean createEpostRcptDtl(EpostRcptDtl epostRcptDtl);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean updateEpostRcptDtl(EpostRcptDtl epostRcptDtl);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean removeEpostRcptDtl(EpostRcptDtl epostRcptDtl);
}

@ -0,0 +1,137 @@
package cokr.xit.fims.epst.service.bean;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.dao.EpostRcptDtlMapper;
import cokr.xit.fims.epst.dao.EpostRcptRegMapper;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.EpostRcptDtl;
/** Bean
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-11 mjkhan
* ================================
* </pre>
*/
@Component("epostRcptRegBean")
public class EpostRcptRegBean extends AbstractComponent {
/** 전자우편 접수 등록 정보 DAO */
@Resource(name = "epostRcptRegMapper")
private EpostRcptRegMapper epostRcptRegMapper;
/** 전자우편 접수 상세 정보 DAO */
@Resource(name = "epostRcptDtlMapper")
private EpostRcptDtlMapper epostRcptDtlMapper;
/** .
* @param req
* @return
*/
public List<DataObject> getEpostRcptRegList(EpostQuery req) {
return epostRcptRegMapper.selectEpostRcptRegList(req);
}
/** .
* @param req
* @return
*/
public List<EpostRcptReg> getEpostRcptRegs(EpostQuery req) {
return epostRcptRegMapper.selectEpostRcptRegs(req);
}
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean createEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.insert(epostRcptReg);
}
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean updateEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.update(epostRcptReg);
}
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean removeEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.delete(epostRcptReg);
}
/** .
* @param req
* @return
*/
public List<DataObject> getEpostRcptDtlList(EpostQuery req) {
return epostRcptDtlMapper.selectEpostRcptDtlList(req);
}
/** .
* @param req
* @return
*/
public List<EpostRcptDtl> getEpostRcptDtls(EpostQuery req) {
return epostRcptDtlMapper.selectEpostRcptDtls(req);
}
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean createEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlMapper.insert(epostRcptDtl);
}
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean updateEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlMapper.update(epostRcptDtl);
}
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean removeEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlMapper.delete(epostRcptDtl);
}
}

@ -0,0 +1,84 @@
package cokr.xit.fims.epst.service.bean;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptDtl;
import cokr.xit.fims.epst.service.EpostRcptRegService;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-11 JoJH
* ================================
* </pre>
*/
@Service("epostRcptRegService")
public class EpostRcptRegServiceBean extends AbstractServiceBean implements EpostRcptRegService {
/** 전자우편 접수 등록 정보 Bean */
@Resource(name = "epostRcptRegBean")
private EpostRcptRegBean epostRcptRegBean;
@Override
public List<DataObject> getEpostRcptRegList(EpostQuery req) {
return epostRcptRegBean.getEpostRcptRegList(req);
}
@Override
public List<EpostRcptReg> getEpostRcptRegs(EpostQuery req) {
return epostRcptRegBean.getEpostRcptRegs(req);
}
@Override
public boolean createEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegBean.createEpostRcptReg(epostRcptReg);
}
@Override
public boolean updateEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegBean.updateEpostRcptReg(epostRcptReg);
}
@Override
public boolean removeEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegBean.removeEpostRcptReg(epostRcptReg);
}
@Override
public List<DataObject> getEpostRcptDtlList(EpostQuery req) {
return epostRcptRegBean.getEpostRcptDtlList(req);
}
@Override
public List<EpostRcptDtl> getEpostRcptDtls(EpostQuery req) {
return epostRcptRegBean.getEpostRcptDtls(req);
}
@Override
public boolean createEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegBean.createEpostRcptDtl(epostRcptDtl);
}
@Override
public boolean updateEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegBean.updateEpostRcptDtl(epostRcptDtl);
}
@Override
public boolean removeEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegBean.removeEpostRcptDtl(epostRcptDtl);
}
}

@ -0,0 +1,115 @@
package cokr.xit.fims.epst.web;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.service.EpostRcptRegService;
/**
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-11 JoJH
* ================================
* </pre>
*/
public class EpostRcptRegController extends ApplicationController {
public static final String CLASS_URL = "/epst/epost";
public class METHOD_URL {
public static final String
mainEpostRcptReg = "/mainEpostRcptReg.do" // 전자우편 접수 메인
, getEpostRcptRegList = "/getEpostRcptRegList.do" // 전자우편 접수 조회
, createEpostRcptReg = "/createEpostRcptReg.do" // 전자우편 접수 등록
, updateEpostRcptReg = "/updateEpostRcptReg.do" // 전자우편 접수 수정
, deleteEpostRcptReg = "/deleteEpostRcptReg" // 전자우편 접수 삭제
;
}
/**전자우편 접수 등록 서비스*/
@Resource(name = "epostRcptRegService")
private EpostRcptRegService epostRcptRegService;
/** (epostRcptReg/epostRcptReg-main) .
* {@link #getEpostRcptRegList(EpostRcptRegQuery) } .
* @return /epostRcptReg/epostRcptReg-main
*/
public ModelAndView mainEpostRcptReg() {
ModelAndView mav = getEpostRcptRegList(new EpostQuery().setPageNum(1));
mav.setViewName("/epostRcptReg/epostRcptReg-main");
return mav.addObject("epostRcptRegList", toJson(mav.getModel().get("epostRcptRegList")));
}
/** .<br />
* {@link EpostRcptRegService#getEpostRcptRegList(EpostRcptRegQuery)}
* @param req
* @return jsonView
* <pre><code> {
* "epostRcptRegList": [ ]
* "epostRcptRegStart":
* "epostRcptRegFetch":
* "epostRcptRegTotal":
* }</code></pre>
*/
public ModelAndView getEpostRcptRegList(EpostQuery req) {
List<?> result = epostRcptRegService.getEpostRcptRegList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "epostRcptReg");
}
/** .
* @param epostRcptReg
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView createEpostRcptReg(EpostRcptReg epostRcptReg) {
boolean saved = epostRcptRegService.createEpostRcptReg(epostRcptReg);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
/** .
* @param epostRcptReg
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "전자우편 접수 등록 수정", value = "/update.do")
public ModelAndView updateEpostRcptReg(EpostRcptReg epostRcptReg) {
boolean saved = epostRcptRegService.updateEpostRcptReg(epostRcptReg);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
/** .
* @param epostRcptRegIDs
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
@PostMapping(name = "전자우편 접수 등록 제거", value = "/remove.do")
public ModelAndView removeEpostRcptReg(EpostRcptReg epostRcptReg) {
boolean saved = epostRcptRegService.removeEpostRcptReg(epostRcptReg);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
}

@ -123,8 +123,8 @@ public class Sndng extends AbstractEntity {
private String[] crdnIDs;
/**
* ID
* IDs
*/
private String crdnId;
private String[] sndngDtlIDs;
}

@ -98,7 +98,7 @@ public interface SndngService {
* <li> false</li>
* </ul>
*/
String createEPost(Sndng sndng);
String createSndngLink(Sndng sndng);

@ -187,7 +187,7 @@ public class SndngBean extends AbstractComponent {
throw new RuntimeException("발송 등록에 실패하였습니다.");
}
for (int iLoop = 0; iLoop < sndng.getCrdnIDs().length ; iLoop++) {
for (int iLoop = 0; iLoop < sndng.getCrdnIDs().length; iLoop++) {
// 발송 상세 등록
SndngDtl sndngDtl = new SndngDtl();
@ -350,7 +350,7 @@ public class SndngBean extends AbstractComponent {
return sndngMapper.deleteSndng(sndng);
}
/** .
/** .
* @param sndng
* @return
* <ul><li> true</li>
@ -362,6 +362,14 @@ public class SndngBean extends AbstractComponent {
boolean retSuccess = false; // DB 처리 결과
String retMessage = "[F] "; // 처리 결과 메시지
for (int iLoop = 0; iLoop < sndng.getCrdnIDs().length; iLoop++) {
// 발송 상세 등록
SndngDtl sndngDtl = new SndngDtl();
// 단속, 납부자 정보 조회
DataObject infoCrdnPayer = sndngMapper.selectCrdnPayerTrgtInfo(sndng.getCrdnIDs()[iLoop]);
}
retMessage = "[S] 작업이 정상 처리 되었습니다.";
return retMessage;
@ -369,7 +377,7 @@ public class SndngBean extends AbstractComponent {

@ -82,7 +82,8 @@ public class SndngServiceBean extends AbstractServiceBean implements SndngServic
}
@Override
public String createEPost(Sndng sndng) {
public String createSndngLink(Sndng sndng) {
return sndngBean.createEPost(sndng);
}

@ -43,7 +43,7 @@ public class Sndb01Controller extends ApplicationController {
, getAdvntceSndngList = "/070/list.do" // 사전통지 발송 대상 목록 조회
, getAdvntceSndngDltInfo = "/080/info.do" // 사전통지 발송 상세 대장 조회
, createSndng = "/020/createSndng.do" // 발송 대상 등록
, createEPost = "/080/createEPost.do" // 우편 통합 발송 등록
, createSndngLink = "/080/createSndngLink.do" // 우편 통합 발송 연계 등록
;
}
@ -310,9 +310,9 @@ public class Sndb01Controller extends ApplicationController {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView createEPost(Sndng sndng) {
public ModelAndView createSndngLink(Sndng sndng) {
boolean saved = false;
String retMessage = sndngService.createEPost(sndng);
String retMessage = sndngService.createSndngLink(sndng);
if (retMessage.contains("[S]")) {
saved = true;

@ -553,9 +553,9 @@ public class DpvController {
}
@Override
@RequestMapping(name="장애인과태료업무 우편통합 발송 등록", value=METHOD_URL.createEPost)
public ModelAndView createEPost(Sndng sndng) {
return super.createEPost(sndng);
@RequestMapping(name="장애인과태료업무 우편통합 발송 연계 등록", value=METHOD_URL.createSndngLink)
public ModelAndView createSndngLink(Sndng sndng) {
return super.createSndngLink(sndng);
}
}

@ -0,0 +1,657 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cokr.xit.fims.epst.dao.EpostRcptRegMapper">
<!-- 전자우편 접수 등록 정보 매퍼
========== 변경 이력 ==========
2023-10-11 mjkhan 최초 작성
============================ -->
<resultMap id="epostRcptRegRow" type="cokr.xit.fims.epst.EpostRcptReg">
<result property="conKey" column="CON_KEY" /> <!-- 외부연계식별키 -->
<result property="rceptId" column="RCEPT_ID" /> <!-- 접수우체국국기호 -->
<result property="dataCd" column="DATA_CD" /> <!-- 접수코드 -->
<result property="divKb" column="DIV_KB" /> <!-- 취급구분 -->
<result property="dfpayyn" column="DFPAYYN" /> <!-- 결재방법 -->
<result property="rcptKb" column="RCPT_KB" /> <!-- 내용문 유형 -->
<result property="sealCd" column="SEAL_CD" /> <!-- 내용문 상세 종류 -->
<result property="wordKb" column="WORD_KB" /> <!-- 내용문 종류 -->
<result property="mailCnt" column="MAIL_CNT" /> <!-- 내용문 매수 -->
<result property="recevCnt" column="RECEV_CNT" /> <!-- 수취인 수 -->
<result property="envCd" column="ENV_CD" /> <!-- 봉투 종류 -->
<result property="colorYn" column="COLOR_YN" /> <!-- 칼라우편물 -->
<result property="mmYn" column="MM_YN" /> <!-- 메일머지 플래그 -->
<result property="flexCd" column="FLEX_CD" /> <!-- 이면구분 -->
<result property="dmCnt" column="DM_CNT" /> <!-- 동봉물 개수 -->
<result property="sbFg" column="SB_FG" /> <!-- 반송불필요 여부 -->
<result property="apvlNb" column="APVL_NB" /> <!-- 승인번호 -->
<result property="sendDate" column="SEND_DATE" /> <!-- 신청 일자 -->
<result property="sendTime" column="SEND_TIME" /> <!-- 전송 시간 -->
<result property="relorsectCd" column="RELORSECT_CD" /> <!-- 연계기관결제부서코드 -->
<result property="recevSenderOrgCode" column="RECEV_SENDER_ORG_CODE" /> <!-- 발송기관코드 -->
<result property="recevSenderNm" column="RECEV_SENDER_NM" /> <!-- 발송인명 -->
<result property="recevSenderZipcode" column="RECEV_SENDER_ZIPCODE" /> <!-- 발송인 우편번호 -->
<result property="recevSenderAddr" column="RECEV_SENDER_ADDR" /> <!-- 주소 -->
<result property="recevSenderDetailaddr" column="RECEV_SENDER_DETAILADDR" /> <!-- 상세주소 -->
<result property="recevSenderDepartTel" column="RECEV_SENDER_DEPART_TEL" /> <!-- 부과부서 전화번호 -->
<result property="recevSenderDepartNm" column="RECEV_SENDER_DEPART_NM" /> <!-- 부과부서 -->
<result property="recevDivCd" column="RECEV_DIV_CD" /> <!-- 등기구분 -->
<result property="recevPrintDt" column="RECEV_PRINT_DT" /> <!-- 출력일자 -->
<result property="recevPrintYear" column="RECEV_PRINT_YEAR" /> <!-- 출력연도 -->
<result property="recevPrintMonth" column="RECEV_PRINT_MONTH" /> <!-- 출력월 -->
<result property="recevPrintDay" column="RECEV_PRINT_DAY" /> <!-- 출력일 -->
<result property="recevSenderFax" column="RECEV_SENDER_FAX" /> <!-- 부과부서 팩스번호 -->
<result property="recevSerderStaff" column="RECEV_SERDER_STAFF" /> <!-- 부과부서 담당자 -->
<result property="recevSenderEmail" column="RECEV_SENDER_EMAIL" /> <!-- 부과부서 이메일 -->
<result property="sndngId" column="SNDNG_ID" /> <!-- 발송 ID -->
<result property="jobCd" column="JOB_CD" /> <!-- 작업 코드 -->
<result property="postProcStt" column="POST_PROC_STT" /> <!-- 우편 처리 상태 -->
<result property="rceptYmd" column="RCEPT_YMD" /> <!-- 접수 일자 -->
<result property="delYn" column="DEL_YN" /> <!-- 삭제 여부 -->
<result property="regVarData1" column="REG_VAR_DATA1" /> <!-- 추가 데이터1 -->
<result property="regVarData2" column="REG_VAR_DATA2" /> <!-- 추가 데이터2 -->
<result property="regVarData3" column="REG_VAR_DATA3" /> <!-- 추가 데이터3 -->
<result property="regVarData4" column="REG_VAR_DATA4" /> <!-- 추가 데이터4 -->
<result property="regVarData5" column="REG_VAR_DATA5" /> <!-- 추가 데이터5 -->
<result property="createdAt" column="REG_DT" /> <!-- 등록 일시 -->
<result property="createdBy" column="RGTR" /> <!-- 등록자 -->
<result property="removedAt" column="DEL_DT" /> <!-- 삭제 일시 -->
<result property="removedBy" column="DLTR" /> <!-- 삭제자 -->
</resultMap>
<resultMap id="epostRcptDtlRow" type="cokr.xit.fims.epst.EpostRcptDtl">
<result property="conKey" column="CON_KEY" /> <!-- 외부연계식별키 -->
<result property="rgstNmbr" column="RGST_NMBR" /> <!-- 등기번호 -->
<result property="recevSeq" column="RECEV_SEQ" /> <!-- 일련번호 -->
<result property="recevCode" column="RECEV_CODE" /> <!-- 발송코드 -->
<result property="recevBar1d" column="RECEV_BAR1D" /> <!-- 바코드 -->
<result property="recevBar2d" column="RECEV_BAR2D" /> <!-- 이차원바코드 -->
<result property="recevBillNunber" column="RECEV_BILL_NUNBER" /> <!-- 고지번호 -->
<result property="recevDocCd1" column="RECEV_DOC_CD1" /> <!-- 문서종류1 -->
<result property="recevDocCd2" column="RECEV_DOC_CD2" /> <!-- 문서종류2 -->
<result property="recevDocCd3" column="RECEV_DOC_CD3" /> <!-- 문서종류3 -->
<result property="recevDocCd4" column="RECEV_DOC_CD4" /> <!-- 문서종류4 -->
<result property="recevDocCd5" column="RECEV_DOC_CD5" /> <!-- 문서종류5 -->
<result property="recevSubj1" column="RECEV_SUBJ1" /> <!-- 과목명1 -->
<result property="recevSubj2" column="RECEV_SUBJ2" /> <!-- 과목명2 -->
<result property="recevSubj3" column="RECEV_SUBJ3" /> <!-- 과목명3 -->
<result property="recevViolateDt" column="RECEV_VIOLATE_DT" /> <!-- 위반일시 -->
<result property="recevViolateDong" column="RECEV_VIOLATE_DONG" /> <!-- 위반동 -->
<result property="recevViolatePlace" column="RECEV_VIOLATE_PLACE" /> <!-- 위반장소 -->
<result property="recevLaws" column="RECEV_LAWS" /> <!-- 법조항 -->
<result property="recevPayNumber1" column="RECEV_PAY_NUMBER1" /> <!-- 납부번호1 -->
<result property="recevPayNumber2" column="RECEV_PAY_NUMBER2" /> <!-- 납부번호2 -->
<result property="recevOcr0" column="RECEV_OCR0" /> <!-- OCR0 -->
<result property="recevOcr1" column="RECEV_OCR1" /> <!-- OCR1 -->
<result property="recevOcr2" column="RECEV_OCR2" /> <!-- OCR2 -->
<result property="recevOnlinePayNumber" column="RECEV_ONLINE_PAY_NUMBER" /> <!-- 전자납부번호 -->
<result property="recevFinePrice" column="RECEV_FINE_PRICE" /> <!-- 과태료 -->
<result property="recevPayPrice" column="RECEV_PAY_PRICE" /> <!-- 납부금액 -->
<result property="recevPayDt" column="RECEV_PAY_DT" /> <!-- 납부기한 -->
<result property="recevPayInDate" column="RECEV_PAY_IN_DATE" /> <!-- 납기내기한 -->
<result property="recevPayInPrice" column="RECEV_PAY_IN_PRICE" /> <!-- 납기내금액 -->
<result property="recevPayInAddPrice" column="RECEV_PAY_IN_ADD_PRICE" /> <!-- 납기내가산금 -->
<result property="recevPayInDefaultPrice" column="RECEV_PAY_IN_DEFAULT_PRICE" /> <!-- 납기내합계금액 -->
<result property="recevPayOutDate" column="RECEV_PAY_OUT_DATE" /> <!-- 납기후기한 -->
<result property="recevPayOutPrice" column="RECEV_PAY_OUT_PRICE" /> <!-- 납기후금액 -->
<result property="recevPayOutAddPrice" column="RECEV_PAY_OUT_ADD_PRICE" /> <!-- 납기후가산금 -->
<result property="recevPayOutDefaultPrice" column="RECEV_PAY_OUT_DEFAULT_PRICE" /> <!-- 납기후합계금액 -->
<result property="recevCarNumber" column="RECEV_CAR_NUMBER" /> <!-- 차량번호 -->
<result property="recevCarOwnerZipcode" column="RECEV_CAR_OWNER_ZIPCODE" /> <!-- 우편번호 -->
<result property="recevCarOwnerAddr" column="RECEV_CAR_OWNER_ADDR" /> <!-- 주소 -->
<result property="recevCarOwnerDetailaddr" column="RECEV_CAR_OWNER_DETAILADDR" /> <!-- 상세주소 -->
<result property="recevCarOwnerNm" column="RECEV_CAR_OWNER_NM" /> <!-- 소유자명 -->
<result property="recevCarOwnerSsn" column="RECEV_CAR_OWNER_SSN" /> <!-- 주민번호 -->
<result property="recevEvidenceNumber" column="RECEV_EVIDENCE_NUMBER" /> <!-- 증거번호 -->
<result property="recevPhotoCnt" column="RECEV_PHOTO_CNT" /> <!-- 사진장수 -->
<result property="recevPhotoFilename1" column="RECEV_PHOTO_FILENAME1" /> <!-- 사진파일명1 -->
<result property="recevPhotoFilename2" column="RECEV_PHOTO_FILENAME2" /> <!-- 사진파일명2 -->
<result property="recevPhotoFilename3" column="RECEV_PHOTO_FILENAME3" /> <!-- 사진파일명3 -->
<result property="recevPhotoFilename4" column="RECEV_PHOTO_FILENAME4" /> <!-- 사진파일명4 -->
<result property="vractno" column="VRACTNO" /> <!-- 가상계좌번호 -->
<result property="vractno2" column="VRACTNO2" /> <!-- 가상계좌번호2 -->
<result property="vractno3" column="VRACTNO3" /> <!-- 가상계좌번호3 -->
<result property="vractno4" column="VRACTNO4" /> <!-- 가상계좌번호4 -->
<result property="vractno5" column="VRACTNO5" /> <!-- 가상계좌번호5 -->
<result property="vractno6" column="VRACTNO6" /> <!-- 가상계좌번호6 -->
<result property="vractno7" column="VRACTNO7" /> <!-- 가상계좌번호7 -->
<result property="vractno8" column="VRACTNO8" /> <!-- 가상계좌번호8 -->
<result property="vractno9" column="VRACTNO9" /> <!-- 가상계좌번호9 -->
<result property="vractno10" column="VRACTNO10" /> <!-- 가상계좌번호10 -->
<result property="vractno11" column="VRACTNO11" /> <!-- 가상계좌번호11 -->
<result property="dtlVarData1" column="DTL_VAR_DATA1" /> <!-- 추가 데이터1 -->
<result property="dtlVarData2" column="DTL_VAR_DATA2" /> <!-- 추가 데이터2 -->
<result property="dtlVarData3" column="DTL_VAR_DATA3" /> <!-- 추가 데이터3 -->
<result property="dtlVarData4" column="DTL_VAR_DATA4" /> <!-- 추가 데이터4 -->
<result property="dtlVarData5" column="DTL_VAR_DATA5" /> <!-- 추가 데이터5 -->
<result property="dlvrRsltId" column="DLVR_RSLT_ID" /> <!-- 배달 결과 ID -->
<result property="makeRsltCd" column="MAKE_RSLT_CD" /> <!-- 제작 결과 코드 -->
<result property="createdAt" column="REG_DT" /> <!-- 등록 일시 -->
<result property="createdBy" column="RGTR" /> <!-- 등록자 -->
</resultMap>
<sql id="select">SELECT CON_KEY <!-- 외부연계식별키 -->
, RCEPT_ID <!-- 접수우체국국기호 -->
, DATA_CD <!-- 접수코드 -->
, DIV_KB <!-- 취급구분 -->
, DFPAYYN <!-- 결재방법 -->
, RCPT_KB <!-- 내용문 유형 -->
, SEAL_CD <!-- 내용문 상세 종류 -->
, WORD_KB <!-- 내용문 종류 -->
, MAIL_CNT <!-- 내용문 매수 -->
, RECEV_CNT <!-- 수취인 수 -->
, ENV_CD <!-- 봉투 종류 -->
, COLOR_YN <!-- 칼라우편물 -->
, MM_YN <!-- 메일머지 플래그 -->
, FLEX_CD <!-- 이면구분 -->
, DM_CNT <!-- 동봉물 개수 -->
, SB_FG <!-- 반송불필요 여부 -->
, APVL_NB <!-- 승인번호 -->
, SEND_DATE <!-- 신청 일자 -->
, SEND_TIME <!-- 전송 시간 -->
, RELORSECT_CD <!-- 연계기관결제부서코드 -->
, RECEV_SENDER_ORG_CODE <!-- 발송기관코드 -->
, RECEV_SENDER_NM <!-- 발송인명 -->
, RECEV_SENDER_ZIPCODE <!-- 발송인 우편번호 -->
, RECEV_SENDER_ADDR <!-- 주소 -->
, RECEV_SENDER_DETAILADDR <!-- 상세주소 -->
, RECEV_SENDER_DEPART_TEL <!-- 부과부서 전화번호 -->
, RECEV_SENDER_DEPART_NM <!-- 부과부서 -->
, RECEV_DIV_CD <!-- 등기구분 -->
, RECEV_PRINT_DT <!-- 출력일자 -->
, RECEV_PRINT_YEAR <!-- 출력연도 -->
, RECEV_PRINT_MONTH <!-- 출력월 -->
, RECEV_PRINT_DAY <!-- 출력일 -->
, RECEV_SENDER_FAX <!-- 부과부서 팩스번호 -->
, RECEV_SERDER_STAFF <!-- 부과부서 담당자 -->
, RECEV_SENDER_EMAIL <!-- 부과부서 이메일 -->
, SNDNG_ID <!-- 발송 ID -->
, JOB_CD <!-- 작업 코드 -->
, POST_PROC_STT <!-- 우편 처리 상태 -->
, RCEPT_YMD <!-- 접수 일자 -->
, DEL_YN <!-- 삭제 여부 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, DEL_DT <!-- 삭제 일시 -->
, DLTR <!-- 삭제자 -->
, REG_VAR_DATA1 <!-- 추가 데이터1 -->
, REG_VAR_DATA2 <!-- 추가 데이터2 -->
, REG_VAR_DATA3 <!-- 추가 데이터3 -->
, REG_VAR_DATA4 <!-- 추가 데이터4 -->
, REG_VAR_DATA5 <!-- 추가 데이터5 -->
FROM TB_EPOST_RCPT_REG</sql>
<select id="selectEpostRcptRegList" parameterType="map" resultType="dataobject">/* 전자우편 접수 등록 목록 조회(epostRcptRegMapper.selectEpostRcptRegList) */
<include refid="utility.paging-prefix" />
<include refid="select" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<select id="selectEpostRcptRegs" parameterType="map" resultMap="epostRcptRegRow">/* 전자우편 접수 등록 객체 가져오기(epostRcptRegMapper.selectEpostRcptRegs) */
<include refid="select" />
<where></where>
<include refid="utility.orderBy" /></select>
<insert id="insertEpostRcptReg" parameterType="map">/* 전자우편 접수 등록 등록(epostRcptRegMapper.insertEpostRcptReg) */
INSERT INTO TB_EPOST_RCPT_REG (
CON_KEY <!-- 외부연계식별키 -->
, RCEPT_ID <!-- 접수우체국국기호 -->
, DATA_CD <!-- 접수코드 -->
, DIV_KB <!-- 취급구분 -->
, DFPAYYN <!-- 결재방법 -->
, RCPT_KB <!-- 내용문 유형 -->
, SEAL_CD <!-- 내용문 상세 종류 -->
, WORD_KB <!-- 내용문 종류 -->
, MAIL_CNT <!-- 내용문 매수 -->
, RECEV_CNT <!-- 수취인 수 -->
, ENV_CD <!-- 봉투 종류 -->
, COLOR_YN <!-- 칼라우편물 -->
, MM_YN <!-- 메일머지 플래그 -->
, FLEX_CD <!-- 이면구분 -->
, DM_CNT <!-- 동봉물 개수 -->
, SB_FG <!-- 반송불필요 여부 -->
, APVL_NB <!-- 승인번호 -->
, SEND_DATE <!-- 신청 일자 -->
, SEND_TIME <!-- 전송 시간 -->
, RELORSECT_CD <!-- 연계기관결제부서코드 -->
, RECEV_SENDER_ORG_CODE <!-- 발송기관코드 -->
, RECEV_SENDER_NM <!-- 발송인명 -->
, RECEV_SENDER_ZIPCODE <!-- 발송인 우편번호 -->
, RECEV_SENDER_ADDR <!-- 주소 -->
, RECEV_SENDER_DETAILADDR <!-- 상세주소 -->
, RECEV_SENDER_DEPART_TEL <!-- 부과부서 전화번호 -->
, RECEV_SENDER_DEPART_NM <!-- 부과부서 -->
, RECEV_DIV_CD <!-- 등기구분 -->
, RECEV_PRINT_DT <!-- 출력일자 -->
, RECEV_PRINT_YEAR <!-- 출력연도 -->
, RECEV_PRINT_MONTH <!-- 출력월 -->
, RECEV_PRINT_DAY <!-- 출력일 -->
, RECEV_SENDER_FAX <!-- 부과부서 팩스번호 -->
, RECEV_SERDER_STAFF <!-- 부과부서 담당자 -->
, RECEV_SENDER_EMAIL <!-- 부과부서 이메일 -->
, SNDNG_ID <!-- 발송 ID -->
, JOB_CD <!-- 작업 코드 -->
, POST_PROC_STT <!-- 우편 처리 상태 -->
, RCEPT_YMD <!-- 접수 일자 -->
, DEL_YN <!-- 삭제 여부 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, DEL_DT <!-- 삭제 일시 -->
, DLTR <!-- 삭제자 -->
, REG_VAR_DATA1 <!-- 추가 데이터1 -->
, REG_VAR_DATA2 <!-- 추가 데이터2 -->
, REG_VAR_DATA3 <!-- 추가 데이터3 -->
, REG_VAR_DATA4 <!-- 추가 데이터4 -->
, REG_VAR_DATA5 <!-- 추가 데이터5 -->
) VALUES (
#{epostRcptReg.conKey} <!-- 외부연계식별키 -->
, #{epostRcptReg.rceptId} <!-- 접수우체국국기호 -->
, #{epostRcptReg.dataCd} <!-- 접수코드 -->
, #{epostRcptReg.divKb} <!-- 취급구분 -->
, #{epostRcptReg.dfpayyn} <!-- 결재방법 -->
, #{epostRcptReg.rcptKb} <!-- 내용문 유형 -->
, #{epostRcptReg.sealCd} <!-- 내용문 상세 종류 -->
, #{epostRcptReg.wordKb} <!-- 내용문 종류 -->
, #{epostRcptReg.mailCnt} <!-- 내용문 매수 -->
, #{epostRcptReg.recevCnt} <!-- 수취인 수 -->
, #{epostRcptReg.envCd} <!-- 봉투 종류 -->
, #{epostRcptReg.colorYn} <!-- 칼라우편물 -->
, #{epostRcptReg.mmYn} <!-- 메일머지 플래그 -->
, #{epostRcptReg.flexCd} <!-- 이면구분 -->
, #{epostRcptReg.dmCnt} <!-- 동봉물 개수 -->
, #{epostRcptReg.sbFg} <!-- 반송불필요 여부 -->
, #{epostRcptReg.apvlNb} <!-- 승인번호 -->
, #{epostRcptReg.sendDate} <!-- 신청 일자 -->
, #{epostRcptReg.sendTime} <!-- 전송 시간 -->
, #{epostRcptReg.relorsectCd} <!-- 연계기관결제부서코드 -->
, #{epostRcptReg.recevSenderOrgCode} <!-- 발송기관코드 -->
, #{epostRcptReg.recevSenderNm} <!-- 발송인명 -->
, #{epostRcptReg.recevSenderZipcode} <!-- 발송인 우편번호 -->
, #{epostRcptReg.recevSenderAddr} <!-- 주소 -->
, #{epostRcptReg.recevSenderDetailaddr} <!-- 상세주소 -->
, #{epostRcptReg.recevSenderDepartTel} <!-- 부과부서 전화번호 -->
, #{epostRcptReg.recevSenderDepartNm} <!-- 부과부서 -->
, #{epostRcptReg.recevDivCd} <!-- 등기구분 -->
, #{epostRcptReg.recevPrintDt} <!-- 출력일자 -->
, #{epostRcptReg.recevPrintYear} <!-- 출력연도 -->
, #{epostRcptReg.recevPrintMonth} <!-- 출력월 -->
, #{epostRcptReg.recevPrintDay} <!-- 출력일 -->
, #{epostRcptReg.recevSenderFax} <!-- 부과부서 팩스번호 -->
, #{epostRcptReg.recevSerderStaff} <!-- 부과부서 담당자 -->
, #{epostRcptReg.recevSenderEmail} <!-- 부과부서 이메일 -->
, #{epostRcptReg.sndngId} <!-- 발송 ID -->
, #{epostRcptReg.jobCd} <!-- 작업 코드 -->
, #{epostRcptReg.postProcStt} <!-- 우편 처리 상태 -->
, #{epostRcptReg.rceptYmd} <!-- 접수 일자 -->
, #{epostRcptReg.delYn} <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, #{epostRcptReg.removedAt} <!-- 삭제 일시 -->
, #{epostRcptReg.removedBy} <!-- 삭제자 -->
, #{epostRcptReg.regVarData1} <!-- 추가 데이터1 -->
, #{epostRcptReg.regVarData2} <!-- 추가 데이터2 -->
, #{epostRcptReg.regVarData3} <!-- 추가 데이터3 -->
, #{epostRcptReg.regVarData4} <!-- 추가 데이터4 -->
, #{epostRcptReg.regVarData5} <!-- 추가 데이터5 -->
)</insert>
<update id="updateEpostRcptReg" parameterType="map">/* 전자우편 접수 등록 수정(epostRcptRegMapper.updateEpostRcptReg) */
UPDATE TB_EPOST_RCPT_REG SET
RCEPT_ID = #{epostRcptReg.rceptId} <!-- 접수우체국국기호 -->
, DATA_CD = #{epostRcptReg.dataCd} <!-- 접수코드 -->
, DIV_KB = #{epostRcptReg.divKb} <!-- 취급구분 -->
, DFPAYYN = #{epostRcptReg.dfpayyn} <!-- 결재방법 -->
, RCPT_KB = #{epostRcptReg.rcptKb} <!-- 내용문 유형 -->
, SEAL_CD = #{epostRcptReg.sealCd} <!-- 내용문 상세 종류 -->
, WORD_KB = #{epostRcptReg.wordKb} <!-- 내용문 종류 -->
, MAIL_CNT = #{epostRcptReg.mailCnt} <!-- 내용문 매수 -->
, RECEV_CNT = #{epostRcptReg.recevCnt} <!-- 수취인 수 -->
, ENV_CD = #{epostRcptReg.envCd} <!-- 봉투 종류 -->
, COLOR_YN = #{epostRcptReg.colorYn} <!-- 칼라우편물 -->
, MM_YN = #{epostRcptReg.mmYn} <!-- 메일머지 플래그 -->
, FLEX_CD = #{epostRcptReg.flexCd} <!-- 이면구분 -->
, DM_CNT = #{epostRcptReg.dmCnt} <!-- 동봉물 개수 -->
, SB_FG = #{epostRcptReg.sbFg} <!-- 반송불필요 여부 -->
, APVL_NB = #{epostRcptReg.apvlNb} <!-- 승인번호 -->
, SEND_DATE = #{epostRcptReg.sendDate} <!-- 신청 일자 -->
, SEND_TIME = #{epostRcptReg.sendTime} <!-- 전송 시간 -->
, RELORSECT_CD = #{epostRcptReg.relorsectCd} <!-- 연계기관결제부서코드 -->
, RECEV_SENDER_ORG_CODE = #{epostRcptReg.recevSenderOrgCode} <!-- 발송기관코드 -->
, RECEV_SENDER_NM = #{epostRcptReg.recevSenderNm} <!-- 발송인명 -->
, RECEV_SENDER_ZIPCODE = #{epostRcptReg.recevSenderZipcode} <!-- 발송인 우편번호 -->
, RECEV_SENDER_ADDR = #{epostRcptReg.recevSenderAddr} <!-- 주소 -->
, RECEV_SENDER_DETAILADDR = #{epostRcptReg.recevSenderDetailaddr} <!-- 상세주소 -->
, RECEV_SENDER_DEPART_TEL = #{epostRcptReg.recevSenderDepartTel} <!-- 부과부서 전화번호 -->
, RECEV_SENDER_DEPART_NM = #{epostRcptReg.recevSenderDepartNm} <!-- 부과부서 -->
, RECEV_DIV_CD = #{epostRcptReg.recevDivCd} <!-- 등기구분 -->
, RECEV_PRINT_DT = #{epostRcptReg.recevPrintDt} <!-- 출력일자 -->
, RECEV_PRINT_YEAR = #{epostRcptReg.recevPrintYear} <!-- 출력연도 -->
, RECEV_PRINT_MONTH = #{epostRcptReg.recevPrintMonth} <!-- 출력월 -->
, RECEV_PRINT_DAY = #{epostRcptReg.recevPrintDay} <!-- 출력일 -->
, RECEV_SENDER_FAX = #{epostRcptReg.recevSenderFax} <!-- 부과부서 팩스번호 -->
, RECEV_SERDER_STAFF = #{epostRcptReg.recevSerderStaff} <!-- 부과부서 담당자 -->
, RECEV_SENDER_EMAIL = #{epostRcptReg.recevSenderEmail} <!-- 부과부서 이메일 -->
, SNDNG_ID = #{epostRcptReg.sndngId} <!-- 발송 ID -->
, JOB_CD = #{epostRcptReg.jobCd} <!-- 작업 코드 -->
, POST_PROC_STT = #{epostRcptReg.postProcStt} <!-- 우편 처리 상태 -->
, RCEPT_YMD = #{epostRcptReg.rceptYmd} <!-- 접수 일자 -->
, DEL_YN = #{epostRcptReg.delYn} <!-- 삭제 여부 -->
, DEL_DT = #{epostRcptReg.removedAt} <!-- 삭제 일시 -->
, DLTR = #{epostRcptReg.removedBy} <!-- 삭제자 -->
, REG_VAR_DATA1 = #{epostRcptReg.regVarData1} <!-- 추가 데이터1 -->
, REG_VAR_DATA2 = #{epostRcptReg.regVarData2} <!-- 추가 데이터2 -->
, REG_VAR_DATA3 = #{epostRcptReg.regVarData3} <!-- 추가 데이터3 -->
, REG_VAR_DATA4 = #{epostRcptReg.regVarData4} <!-- 추가 데이터4 -->
, REG_VAR_DATA5 = #{epostRcptReg.regVarData5} <!-- 추가 데이터5 -->
WHERE CON_KEY = #{epostRcptReg.conKey}</update>
<update id="deleteEpostRcptReg" parameterType="map">/* 전자우편 접수 등록 삭제(epostRcptRegMapper.deleteEpostRcptReg) */
UPDATE TB_EPOST_RCPT_REG SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE CON_KEY = #{epostRcptReg.conKey}</update>
<sql id="select">SELECT CON_KEY <!-- 외부연계식별키 -->
, RGST_NMBR <!-- 등기번호 -->
, RECEV_SEQ <!-- 일련번호 -->
, RECEV_CODE <!-- 발송코드 -->
, RECEV_BAR1D <!-- 바코드 -->
, RECEV_BAR2D <!-- 이차원바코드 -->
, RECEV_BILL_NUNBER <!-- 고지번호 -->
, RECEV_DOC_CD1 <!-- 문서종류1 -->
, RECEV_DOC_CD2 <!-- 문서종류2 -->
, RECEV_DOC_CD3 <!-- 문서종류3 -->
, RECEV_DOC_CD4 <!-- 문서종류4 -->
, RECEV_DOC_CD5 <!-- 문서종류5 -->
, RECEV_SUBJ1 <!-- 과목명1 -->
, RECEV_SUBJ2 <!-- 과목명2 -->
, RECEV_SUBJ3 <!-- 과목명3 -->
, RECEV_VIOLATE_DT <!-- 위반일시 -->
, RECEV_VIOLATE_DONG <!-- 위반동 -->
, RECEV_VIOLATE_PLACE <!-- 위반장소 -->
, RECEV_LAWS <!-- 법조항 -->
, RECEV_PAY_NUMBER1 <!-- 납부번호1 -->
, RECEV_PAY_NUMBER2 <!-- 납부번호2 -->
, RECEV_OCR0 <!-- OCR0 -->
, RECEV_OCR1 <!-- OCR1 -->
, RECEV_OCR2 <!-- OCR2 -->
, RECEV_ONLINE_PAY_NUMBER <!-- 전자납부번호 -->
, RECEV_FINE_PRICE <!-- 과태료 -->
, RECEV_PAY_PRICE <!-- 납부금액 -->
, RECEV_PAY_DT <!-- 납부기한 -->
, RECEV_PAY_IN_DATE <!-- 납기내기한 -->
, RECEV_PAY_IN_PRICE <!-- 납기내금액 -->
, RECEV_PAY_IN_ADD_PRICE <!-- 납기내가산금 -->
, RECEV_PAY_IN_DEFAULT_PRICE <!-- 납기내합계금액 -->
, RECEV_PAY_OUT_DATE <!-- 납기후기한 -->
, RECEV_PAY_OUT_PRICE <!-- 납기후금액 -->
, RECEV_PAY_OUT_ADD_PRICE <!-- 납기후가산금 -->
, RECEV_PAY_OUT_DEFAULT_PRICE <!-- 납기후합계금액 -->
, RECEV_CAR_NUMBER <!-- 차량번호 -->
, RECEV_CAR_OWNER_ZIPCODE <!-- 우편번호 -->
, RECEV_CAR_OWNER_ADDR <!-- 주소 -->
, RECEV_CAR_OWNER_DETAILADDR <!-- 상세주소 -->
, RECEV_CAR_OWNER_NM <!-- 소유자명 -->
, RECEV_CAR_OWNER_SSN <!-- 주민번호 -->
, RECEV_EVIDENCE_NUMBER <!-- 증거번호 -->
, RECEV_PHOTO_CNT <!-- 사진장수 -->
, RECEV_PHOTO_FILENAME1 <!-- 사진파일명1 -->
, RECEV_PHOTO_FILENAME2 <!-- 사진파일명2 -->
, RECEV_PHOTO_FILENAME3 <!-- 사진파일명3 -->
, RECEV_PHOTO_FILENAME4 <!-- 사진파일명4 -->
, VRACTNO2 <!-- 가상계좌번호2 -->
, VRACTNO3 <!-- 가상계좌번호3 -->
, VRACTNO4 <!-- 가상계좌번호4 -->
, VRACTNO5 <!-- 가상계좌번호5 -->
, VRACTNO6 <!-- 가상계좌번호6 -->
, VRACTNO7 <!-- 가상계좌번호7 -->
, VRACTNO8 <!-- 가상계좌번호8 -->
, VRACTNO9 <!-- 가상계좌번호9 -->
, VRACTNO10 <!-- 가상계좌번호10 -->
, VRACTNO11 <!-- 가상계좌번호11 -->
, DLVR_RSLT_ID <!-- 배달 결과 ID -->
, MAKE_RSLT_CD <!-- 제작 결과 코드 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, VRACTNO <!-- 가상계좌번호 -->
, DTL_VAR_DATA1 <!-- 추가 데이터1 -->
, DTL_VAR_DATA2 <!-- 추가 데이터2 -->
, DTL_VAR_DATA3 <!-- 추가 데이터3 -->
, DTL_VAR_DATA4 <!-- 추가 데이터4 -->
, DTL_VAR_DATA5 <!-- 추가 데이터5 -->
FROM TB_EPOST_RCPT_DTL</sql>
<select id="selectEpostRcptDtlList" parameterType="map" resultType="dataobject">/* 전자우편 접수 상세 목록 조회(epostRcptDtlMapper.selectEpostRcptDtlList) */
<include refid="utility.paging-prefix" />
<include refid="select" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<select id="selectEpostRcptDtls" parameterType="map" resultMap="epostRcptDtlRow">/* 전자우편 접수 상세 객체 가져오기(epostRcptDtlMapper.selectEpostRcptDtls) */
<include refid="select" />
<where></where>
<include refid="utility.orderBy" /></select>
<insert id="insertEpostRcptDtl" parameterType="map">/* 전자우편 접수 상세 등록(epostRcptDtlMapper.insertEpostRcptDtl) */
INSERT INTO TB_EPOST_RCPT_DTL (
CON_KEY <!-- 외부연계식별키 -->
, RGST_NMBR <!-- 등기번호 -->
, RECEV_SEQ <!-- 일련번호 -->
, RECEV_CODE <!-- 발송코드 -->
, RECEV_BAR1D <!-- 바코드 -->
, RECEV_BAR2D <!-- 이차원바코드 -->
, RECEV_BILL_NUNBER <!-- 고지번호 -->
, RECEV_DOC_CD1 <!-- 문서종류1 -->
, RECEV_DOC_CD2 <!-- 문서종류2 -->
, RECEV_DOC_CD3 <!-- 문서종류3 -->
, RECEV_DOC_CD4 <!-- 문서종류4 -->
, RECEV_DOC_CD5 <!-- 문서종류5 -->
, RECEV_SUBJ1 <!-- 과목명1 -->
, RECEV_SUBJ2 <!-- 과목명2 -->
, RECEV_SUBJ3 <!-- 과목명3 -->
, RECEV_VIOLATE_DT <!-- 위반일시 -->
, RECEV_VIOLATE_DONG <!-- 위반동 -->
, RECEV_VIOLATE_PLACE <!-- 위반장소 -->
, RECEV_LAWS <!-- 법조항 -->
, RECEV_PAY_NUMBER1 <!-- 납부번호1 -->
, RECEV_PAY_NUMBER2 <!-- 납부번호2 -->
, RECEV_OCR0 <!-- OCR0 -->
, RECEV_OCR1 <!-- OCR1 -->
, RECEV_OCR2 <!-- OCR2 -->
, RECEV_ONLINE_PAY_NUMBER <!-- 전자납부번호 -->
, RECEV_FINE_PRICE <!-- 과태료 -->
, RECEV_PAY_PRICE <!-- 납부금액 -->
, RECEV_PAY_DT <!-- 납부기한 -->
, RECEV_PAY_IN_DATE <!-- 납기내기한 -->
, RECEV_PAY_IN_PRICE <!-- 납기내금액 -->
, RECEV_PAY_IN_ADD_PRICE <!-- 납기내가산금 -->
, RECEV_PAY_IN_DEFAULT_PRICE <!-- 납기내합계금액 -->
, RECEV_PAY_OUT_DATE <!-- 납기후기한 -->
, RECEV_PAY_OUT_PRICE <!-- 납기후금액 -->
, RECEV_PAY_OUT_ADD_PRICE <!-- 납기후가산금 -->
, RECEV_PAY_OUT_DEFAULT_PRICE <!-- 납기후합계금액 -->
, RECEV_CAR_NUMBER <!-- 차량번호 -->
, RECEV_CAR_OWNER_ZIPCODE <!-- 우편번호 -->
, RECEV_CAR_OWNER_ADDR <!-- 주소 -->
, RECEV_CAR_OWNER_DETAILADDR <!-- 상세주소 -->
, RECEV_CAR_OWNER_NM <!-- 소유자명 -->
, RECEV_CAR_OWNER_SSN <!-- 주민번호 -->
, RECEV_EVIDENCE_NUMBER <!-- 증거번호 -->
, RECEV_PHOTO_CNT <!-- 사진장수 -->
, RECEV_PHOTO_FILENAME1 <!-- 사진파일명1 -->
, RECEV_PHOTO_FILENAME2 <!-- 사진파일명2 -->
, RECEV_PHOTO_FILENAME3 <!-- 사진파일명3 -->
, RECEV_PHOTO_FILENAME4 <!-- 사진파일명4 -->
, VRACTNO2 <!-- 가상계좌번호2 -->
, VRACTNO3 <!-- 가상계좌번호3 -->
, VRACTNO4 <!-- 가상계좌번호4 -->
, VRACTNO5 <!-- 가상계좌번호5 -->
, VRACTNO6 <!-- 가상계좌번호6 -->
, VRACTNO7 <!-- 가상계좌번호7 -->
, VRACTNO8 <!-- 가상계좌번호8 -->
, VRACTNO9 <!-- 가상계좌번호9 -->
, VRACTNO10 <!-- 가상계좌번호10 -->
, VRACTNO11 <!-- 가상계좌번호11 -->
, DLVR_RSLT_ID <!-- 배달 결과 ID -->
, MAKE_RSLT_CD <!-- 제작 결과 코드 -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, VRACTNO <!-- 가상계좌번호 -->
, DTL_VAR_DATA1 <!-- 추가 데이터1 -->
, DTL_VAR_DATA2 <!-- 추가 데이터2 -->
, DTL_VAR_DATA3 <!-- 추가 데이터3 -->
, DTL_VAR_DATA4 <!-- 추가 데이터4 -->
, DTL_VAR_DATA5 <!-- 추가 데이터5 -->
) VALUES (
#{epostRcptDtl.conKey} <!-- 외부연계식별키 -->
, #{epostRcptDtl.rgstNmbr} <!-- 등기번호 -->
, #{epostRcptDtl.recevSeq} <!-- 일련번호 -->
, #{epostRcptDtl.recevCode} <!-- 발송코드 -->
, #{epostRcptDtl.recevBar1d} <!-- 바코드 -->
, #{epostRcptDtl.recevBar2d} <!-- 이차원바코드 -->
, #{epostRcptDtl.recevBillNunber} <!-- 고지번호 -->
, #{epostRcptDtl.recevDocCd1} <!-- 문서종류1 -->
, #{epostRcptDtl.recevDocCd2} <!-- 문서종류2 -->
, #{epostRcptDtl.recevDocCd3} <!-- 문서종류3 -->
, #{epostRcptDtl.recevDocCd4} <!-- 문서종류4 -->
, #{epostRcptDtl.recevDocCd5} <!-- 문서종류5 -->
, #{epostRcptDtl.recevSubj1} <!-- 과목명1 -->
, #{epostRcptDtl.recevSubj2} <!-- 과목명2 -->
, #{epostRcptDtl.recevSubj3} <!-- 과목명3 -->
, #{epostRcptDtl.recevViolateDt} <!-- 위반일시 -->
, #{epostRcptDtl.recevViolateDong} <!-- 위반동 -->
, #{epostRcptDtl.recevViolatePlace} <!-- 위반장소 -->
, #{epostRcptDtl.recevLaws} <!-- 법조항 -->
, #{epostRcptDtl.recevPayNumber1} <!-- 납부번호1 -->
, #{epostRcptDtl.recevPayNumber2} <!-- 납부번호2 -->
, #{epostRcptDtl.recevOcr0} <!-- OCR0 -->
, #{epostRcptDtl.recevOcr1} <!-- OCR1 -->
, #{epostRcptDtl.recevOcr2} <!-- OCR2 -->
, #{epostRcptDtl.recevOnlinePayNumber} <!-- 전자납부번호 -->
, #{epostRcptDtl.recevFinePrice} <!-- 과태료 -->
, #{epostRcptDtl.recevPayPrice} <!-- 납부금액 -->
, #{epostRcptDtl.recevPayDt} <!-- 납부기한 -->
, #{epostRcptDtl.recevPayInDate} <!-- 납기내기한 -->
, #{epostRcptDtl.recevPayInPrice} <!-- 납기내금액 -->
, #{epostRcptDtl.recevPayInAddPrice} <!-- 납기내가산금 -->
, #{epostRcptDtl.recevPayInDefaultPrice} <!-- 납기내합계금액 -->
, #{epostRcptDtl.recevPayOutDate} <!-- 납기후기한 -->
, #{epostRcptDtl.recevPayOutPrice} <!-- 납기후금액 -->
, #{epostRcptDtl.recevPayOutAddPrice} <!-- 납기후가산금 -->
, #{epostRcptDtl.recevPayOutDefaultPrice} <!-- 납기후합계금액 -->
, #{epostRcptDtl.recevCarNumber} <!-- 차량번호 -->
, #{epostRcptDtl.recevCarOwnerZipcode} <!-- 우편번호 -->
, #{epostRcptDtl.recevCarOwnerAddr} <!-- 주소 -->
, #{epostRcptDtl.recevCarOwnerDetailaddr} <!-- 상세주소 -->
, #{epostRcptDtl.recevCarOwnerNm} <!-- 소유자명 -->
, #{epostRcptDtl.recevCarOwnerSsn} <!-- 주민번호 -->
, #{epostRcptDtl.recevEvidenceNumber} <!-- 증거번호 -->
, #{epostRcptDtl.recevPhotoCnt} <!-- 사진장수 -->
, #{epostRcptDtl.recevPhotoFilename1} <!-- 사진파일명1 -->
, #{epostRcptDtl.recevPhotoFilename2} <!-- 사진파일명2 -->
, #{epostRcptDtl.recevPhotoFilename3} <!-- 사진파일명3 -->
, #{epostRcptDtl.recevPhotoFilename4} <!-- 사진파일명4 -->
, #{epostRcptDtl.vractno2} <!-- 가상계좌번호2 -->
, #{epostRcptDtl.vractno3} <!-- 가상계좌번호3 -->
, #{epostRcptDtl.vractno4} <!-- 가상계좌번호4 -->
, #{epostRcptDtl.vractno5} <!-- 가상계좌번호5 -->
, #{epostRcptDtl.vractno6} <!-- 가상계좌번호6 -->
, #{epostRcptDtl.vractno7} <!-- 가상계좌번호7 -->
, #{epostRcptDtl.vractno8} <!-- 가상계좌번호8 -->
, #{epostRcptDtl.vractno9} <!-- 가상계좌번호9 -->
, #{epostRcptDtl.vractno10} <!-- 가상계좌번호10 -->
, #{epostRcptDtl.vractno11} <!-- 가상계좌번호11 -->
, #{epostRcptDtl.dlvrRsltId} <!-- 배달 결과 ID -->
, #{epostRcptDtl.makeRsltCd} <!-- 제작 결과 코드 -->
, <include refid="utility.now" /> <!-- 등록 일시 -->
, #{currentUser.id} <!-- 등록자 -->
, #{epostRcptDtl.vractno} <!-- 가상계좌번호 -->
, #{epostRcptDtl.dtlVarData1} <!-- 추가 데이터1 -->
, #{epostRcptDtl.dtlVarData2} <!-- 추가 데이터2 -->
, #{epostRcptDtl.dtlVarData3} <!-- 추가 데이터3 -->
, #{epostRcptDtl.dtlVarData4} <!-- 추가 데이터4 -->
, #{epostRcptDtl.dtlVarData5} <!-- 추가 데이터5 -->
)</insert>
<update id="updateEpostRcptDtl" parameterType="map">/* 전자우편 접수 상세 수정(epostRcptDtlMapper.updateEpostRcptDtl) */
UPDATE TB_EPOST_RCPT_DTL SET
RECEV_SEQ = #{epostRcptDtl.recevSeq} <!-- 일련번호 -->
, RECEV_CODE = #{epostRcptDtl.recevCode} <!-- 발송코드 -->
, RECEV_BAR1D = #{epostRcptDtl.recevBar1d} <!-- 바코드 -->
, RECEV_BAR2D = #{epostRcptDtl.recevBar2d} <!-- 이차원바코드 -->
, RECEV_BILL_NUNBER = #{epostRcptDtl.recevBillNunber} <!-- 고지번호 -->
, RECEV_DOC_CD1 = #{epostRcptDtl.recevDocCd1} <!-- 문서종류1 -->
, RECEV_DOC_CD2 = #{epostRcptDtl.recevDocCd2} <!-- 문서종류2 -->
, RECEV_DOC_CD3 = #{epostRcptDtl.recevDocCd3} <!-- 문서종류3 -->
, RECEV_DOC_CD4 = #{epostRcptDtl.recevDocCd4} <!-- 문서종류4 -->
, RECEV_DOC_CD5 = #{epostRcptDtl.recevDocCd5} <!-- 문서종류5 -->
, RECEV_SUBJ1 = #{epostRcptDtl.recevSubj1} <!-- 과목명1 -->
, RECEV_SUBJ2 = #{epostRcptDtl.recevSubj2} <!-- 과목명2 -->
, RECEV_SUBJ3 = #{epostRcptDtl.recevSubj3} <!-- 과목명3 -->
, RECEV_VIOLATE_DT = #{epostRcptDtl.recevViolateDt} <!-- 위반일시 -->
, RECEV_VIOLATE_DONG = #{epostRcptDtl.recevViolateDong} <!-- 위반동 -->
, RECEV_VIOLATE_PLACE = #{epostRcptDtl.recevViolatePlace} <!-- 위반장소 -->
, RECEV_LAWS = #{epostRcptDtl.recevLaws} <!-- 법조항 -->
, RECEV_PAY_NUMBER1 = #{epostRcptDtl.recevPayNumber1} <!-- 납부번호1 -->
, RECEV_PAY_NUMBER2 = #{epostRcptDtl.recevPayNumber2} <!-- 납부번호2 -->
, RECEV_OCR0 = #{epostRcptDtl.recevOcr0} <!-- OCR0 -->
, RECEV_OCR1 = #{epostRcptDtl.recevOcr1} <!-- OCR1 -->
, RECEV_OCR2 = #{epostRcptDtl.recevOcr2} <!-- OCR2 -->
, RECEV_ONLINE_PAY_NUMBER = #{epostRcptDtl.recevOnlinePayNumber} <!-- 전자납부번호 -->
, RECEV_FINE_PRICE = #{epostRcptDtl.recevFinePrice} <!-- 과태료 -->
, RECEV_PAY_PRICE = #{epostRcptDtl.recevPayPrice} <!-- 납부금액 -->
, RECEV_PAY_DT = #{epostRcptDtl.recevPayDt} <!-- 납부기한 -->
, RECEV_PAY_IN_DATE = #{epostRcptDtl.recevPayInDate} <!-- 납기내기한 -->
, RECEV_PAY_IN_PRICE = #{epostRcptDtl.recevPayInPrice} <!-- 납기내금액 -->
, RECEV_PAY_IN_ADD_PRICE = #{epostRcptDtl.recevPayInAddPrice} <!-- 납기내가산금 -->
, RECEV_PAY_IN_DEFAULT_PRICE = #{epostRcptDtl.recevPayInDefaultPrice} <!-- 납기내합계금액 -->
, RECEV_PAY_OUT_DATE = #{epostRcptDtl.recevPayOutDate} <!-- 납기후기한 -->
, RECEV_PAY_OUT_PRICE = #{epostRcptDtl.recevPayOutPrice} <!-- 납기후금액 -->
, RECEV_PAY_OUT_ADD_PRICE = #{epostRcptDtl.recevPayOutAddPrice} <!-- 납기후가산금 -->
, RECEV_PAY_OUT_DEFAULT_PRICE = #{epostRcptDtl.recevPayOutDefaultPrice} <!-- 납기후합계금액 -->
, RECEV_CAR_NUMBER = #{epostRcptDtl.recevCarNumber} <!-- 차량번호 -->
, RECEV_CAR_OWNER_ZIPCODE = #{epostRcptDtl.recevCarOwnerZipcode} <!-- 우편번호 -->
, RECEV_CAR_OWNER_ADDR = #{epostRcptDtl.recevCarOwnerAddr} <!-- 주소 -->
, RECEV_CAR_OWNER_DETAILADDR = #{epostRcptDtl.recevCarOwnerDetailaddr} <!-- 상세주소 -->
, RECEV_CAR_OWNER_NM = #{epostRcptDtl.recevCarOwnerNm} <!-- 소유자명 -->
, RECEV_CAR_OWNER_SSN = #{epostRcptDtl.recevCarOwnerSsn} <!-- 주민번호 -->
, RECEV_EVIDENCE_NUMBER = #{epostRcptDtl.recevEvidenceNumber} <!-- 증거번호 -->
, RECEV_PHOTO_CNT = #{epostRcptDtl.recevPhotoCnt} <!-- 사진장수 -->
, RECEV_PHOTO_FILENAME1 = #{epostRcptDtl.recevPhotoFilename1} <!-- 사진파일명1 -->
, RECEV_PHOTO_FILENAME2 = #{epostRcptDtl.recevPhotoFilename2} <!-- 사진파일명2 -->
, RECEV_PHOTO_FILENAME3 = #{epostRcptDtl.recevPhotoFilename3} <!-- 사진파일명3 -->
, RECEV_PHOTO_FILENAME4 = #{epostRcptDtl.recevPhotoFilename4} <!-- 사진파일명4 -->
, VRACTNO2 = #{epostRcptDtl.vractno2} <!-- 가상계좌번호2 -->
, VRACTNO3 = #{epostRcptDtl.vractno3} <!-- 가상계좌번호3 -->
, VRACTNO4 = #{epostRcptDtl.vractno4} <!-- 가상계좌번호4 -->
, VRACTNO5 = #{epostRcptDtl.vractno5} <!-- 가상계좌번호5 -->
, VRACTNO6 = #{epostRcptDtl.vractno6} <!-- 가상계좌번호6 -->
, VRACTNO7 = #{epostRcptDtl.vractno7} <!-- 가상계좌번호7 -->
, VRACTNO8 = #{epostRcptDtl.vractno8} <!-- 가상계좌번호8 -->
, VRACTNO9 = #{epostRcptDtl.vractno9} <!-- 가상계좌번호9 -->
, VRACTNO10 = #{epostRcptDtl.vractno10} <!-- 가상계좌번호10 -->
, VRACTNO11 = #{epostRcptDtl.vractno11} <!-- 가상계좌번호11 -->
, DLVR_RSLT_ID = #{epostRcptDtl.dlvrRsltId} <!-- 배달 결과 ID -->
, MAKE_RSLT_CD = #{epostRcptDtl.makeRsltCd} <!-- 제작 결과 코드 -->
, VRACTNO = #{epostRcptDtl.vractno} <!-- 가상계좌번호 -->
, DTL_VAR_DATA1 = #{epostRcptDtl.dtlVarData1} <!-- 추가 데이터1 -->
, DTL_VAR_DATA2 = #{epostRcptDtl.dtlVarData2} <!-- 추가 데이터2 -->
, DTL_VAR_DATA3 = #{epostRcptDtl.dtlVarData3} <!-- 추가 데이터3 -->
, DTL_VAR_DATA4 = #{epostRcptDtl.dtlVarData4} <!-- 추가 데이터4 -->
, DTL_VAR_DATA5 = #{epostRcptDtl.dtlVarData5} <!-- 추가 데이터5 -->
WHERE CON_KEY = #{epostRcptDtl.conKey}
AND RGST_NMBR = #{epostRcptDtl.rgstNmbr}</update>
<update id="deleteEpostRcptDtl" parameterType="map">/* 전자우편 접수 상세 삭제(epostRcptDtlMapper.deleteEpostRcptDtl) */
UPDATE TB_EPOST_RCPT_DTL SET
USE_YN = 'N'
, MDFCN_DT =<include refid="utility.now" />
, MDFR = #{currentUser.id}
WHERE CON_KEY = #{epostRcptDtl.conKey}
AND RGST_NMBR = #{epostRcptDtl.rgstNmbr}</update>
</mapper>

@ -17,10 +17,10 @@
초기화
</button>
<span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
검색
</button>
<button type="button" class="btn btn-excel" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
엑셀
</button>
</span>

@ -17,10 +17,10 @@
초기화
</button>
<span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
검색
</button>
<button type="button" class="btn btn-excel" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
엑셀
</button>
</span>

@ -17,10 +17,10 @@
초기화
</button>
<span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
검색
</button>
<button type="button" class="btn btn-excel" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
엑셀
</button>
</span>

@ -28,7 +28,7 @@
<button type="button" class="btn btn-primary w-px-120" id="btnUpdateNxrpMtchg--${pageName}" title="매치정보 등록" onclick="fnUpdateNxrpMtchg${pageName}();">
매치정보 작성
</button>
<button type="button" class="btn btn-primary w-px-120" id="btnCreateEPost--${pageName}" title="우편통합 발송" onclick="fnCreateEPost${pageName}();">
<button type="button" class="btn btn-primary w-px-120" id="btnCreateSndngLink--${pageName}" title="우편통합 발송" onclick="fnCreateSndngLink${pageName}();">
우편통합 발송
</button>
<button type="button" class="btn btn-primary w-px-120" id="btnPrintAdvntce--${pageName}" title="사전통지 출력" onclick="fnPrintAdvntce${pageName}();">
@ -251,17 +251,20 @@
}
// 우편통합 발송
createEPost${pageName} = (params) => {
createSndngLink${pageName} = (params) => {
// 선택된 자료의 발송 상세 ID 추가
let selected = ${pageName}Control.dataset.getKeys("selected");
if (selected.length < 1) return;
params.sndngDtlIDs = selected.join(","); // 발송 상세 IDs
params.sndngSeCd = "01"; // 발송 구분 코드 - 01 사전통지서
params.sndngYmd = ${pageName}Control.dataset.getValue("SNDNG_YMD");
params.dudtYmd = ${pageName}Control.dataset.getValue("DUDT_YMD");
params.delYn = "N"; // 삭제 여부
ajax.post({
url : wctx.url("/" + params.taskSeCd + ${pageName}PrefixUrl + "/080/createEPost.do")
url : wctx.url("/" + params.taskSeCd + ${pageName}PrefixUrl + "/080/createSndngLink.do")
, data : params || {}
, success : resp => { }
});
@ -376,14 +379,14 @@
}
// 우편통합 발송
fnCreateEPost${pageName} = () => {
fnCreateSndngLink${pageName} = () => {
// validate 확인
if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return;
dialog.alert({
content : "우편 통합 발송하시겠습니까?"
, onOK : () => {
createEPost${pageName}(${pageName}Fields.get());
createSndngLink${pageName}(${pageName}Fields.get());
}
});
}

Loading…
Cancel
Save