우편 통합 수정.

main
jjh 11 months ago
parent 2e1c62e960
commit 480ee20330

@ -0,0 +1,106 @@
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-12-15 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 req
* @return
*/
int selectEpostSenderDetailSeq(String sndngYmd);
/** .
* @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;
}
}

@ -10,7 +10,6 @@ import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptDtl;
/** DAO
*
@ -26,13 +25,13 @@ import cokr.xit.fims.epst.EpostRcptDtl;
public interface EpostRcptRegMapper extends AbstractMapper {
/** .<br />
* @param req
* @param req
* @return
*/
List<DataObject> selectEpostRcptRegList(EpostQuery req);
/** .
* @param req
* @param req
* @return
*/
List<DataObject> selectEpostRcptRegs(EpostQuery req);
@ -55,6 +54,24 @@ public interface EpostRcptRegMapper extends AbstractMapper {
return !epostRcptReg.isEmpty() ? epostRcptReg.get(0) : null;
}
/** .<br />
* @param req
* @return
*/
String selectEpostSenderRegSeq(String conKey);
/** <br />
* @param req
* @return
*/
String selectEpostRgNo(String sggCd, String taskSeCd);
/**<br />
* @param req
* @return
*/
DataObject selectDeptSggInfo(String deptCd);
/** .
* @param params
* <ul><li>"epostRcptReg" - </li>
@ -71,7 +88,7 @@ public interface EpostRcptRegMapper extends AbstractMapper {
* <li> false</li>
* </ul>
*/
default boolean insertEpostRcptReg(EpostRcptReg epostRcptReg) {
default boolean insert(EpostRcptReg epostRcptReg) {
return epostRcptReg != null && insertEpostRcptReg(params().set("epostRcptReg", epostRcptReg)) == 1;
}
@ -91,7 +108,7 @@ public interface EpostRcptRegMapper extends AbstractMapper {
* <li> false</li>
* </ul>
*/
default boolean updateEpostRcptReg(EpostRcptReg epostRcptReg) {
default boolean update(EpostRcptReg epostRcptReg) {
return epostRcptReg != null && updateEpostRcptReg(params().set("epostRcptReg", epostRcptReg)) == 1;
}
@ -111,104 +128,8 @@ public interface EpostRcptRegMapper extends AbstractMapper {
* <li> false</li>
* </ul>
*/
default boolean deleteEpostRcptReg(EpostRcptReg epostRcptReg) {
default boolean delete(EpostRcptReg epostRcptReg) {
return epostRcptReg != null && deleteEpostRcptReg(params().set("epostRcptReg", epostRcptReg)) == 1;
}
/** .<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 insertEpostRcptDtl(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 updateEpostRcptDtl(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 deleteEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptDtl != null && deleteEpostRcptDtl(params().set("epostRcptDtl", epostRcptDtl)) == 1;
}
/** .<br />
* @param req
* @return
*/
String selectEpostSenderRegSeq(String conKey);
/** <br />
* @param req
* @return
*/
int selectEpostSenderDetailSeq(String sndngYmd);
/** <br />
* @param req
* @return
*/
String selectEpostRgNo(String sggCd, String taskSeCd);
/**<br />
* @param req
* @return
*/
DataObject selectDeptSggInfo(String deptCd);
}

@ -0,0 +1,59 @@
package cokr.xit.fims.epst.service;
import java.util.List;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptDtl;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-12-15 JoJH
* ================================
* </pre>
*/
public interface EpostRcptDtlService {
/** .
* @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 create(EpostRcptDtl epostRcptDtl);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean update(EpostRcptDtl epostRcptDtl);
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean remove(EpostRcptDtl epostRcptDtl);
}

@ -6,7 +6,6 @@ import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptDtl;
/** .
*
@ -44,7 +43,7 @@ public interface EpostRcptRegService {
* <li> false</li>
* </ul>
*/
boolean createEpostRcptReg(EpostRcptReg epostRcptReg);
boolean create(EpostRcptReg epostRcptReg);
/** .
* @param epostRcptReg
@ -53,7 +52,7 @@ public interface EpostRcptRegService {
* <li> false</li>
* </ul>
*/
boolean updateEpostRcptReg(EpostRcptReg epostRcptReg);
boolean update(EpostRcptReg epostRcptReg);
/** .
* @param epostRcptReg
@ -62,45 +61,6 @@ public interface EpostRcptRegService {
* <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);
boolean remove(EpostRcptReg epostRcptReg);
}

@ -0,0 +1,90 @@
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.EpostQuery;
import cokr.xit.fims.epst.EpostRcptDtl;
import cokr.xit.fims.epst.dao.EpostRcptDtlMapper;
/** Bean
*
* <p> :
*
* <pre>
* ============ ============
* 2023-12-15 JoJH
* ================================
* </pre>
*/
@Component("epostRcptDtlBean")
public class EpostRcptDtlBean extends AbstractComponent {
/** 전자우편 접수 상세 정보 DAO */
@Resource(name = "epostRcptDtlMapper")
private EpostRcptDtlMapper epostRcptDtlMapper;
/** .
* @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 req
* @return
*/
public int getEpostSenderDetailSeq(String sndngYmd) {
return epostRcptDtlMapper.selectEpostSenderDetailSeq(sndngYmd);
}
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean create(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlMapper.insert(epostRcptDtl);
}
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean update(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlMapper.update(epostRcptDtl);
}
/** .
* @param epostRcptDtl
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean remove(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlMapper.delete(epostRcptDtl);
}
}

@ -0,0 +1,58 @@
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.EpostQuery;
import cokr.xit.fims.epst.EpostRcptDtl;
import cokr.xit.fims.epst.service.EpostRcptDtlService;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-12-15 JoJH
* ================================
* </pre>
*/
@Service("epostRcptDtlService")
public class EpostRcptDtlServiceBean extends AbstractServiceBean implements EpostRcptDtlService {
/** 전자우편 접수 상세 정보 Bean */
@Resource(name = "epostRcptDtlBean")
private EpostRcptDtlBean epostRcptDtlBean;
@Override
public List<DataObject> getEpostRcptDtlList(EpostQuery req) {
return epostRcptDtlBean.getEpostRcptDtlList(req);
}
@Override
public List<EpostRcptDtl> getEpostRcptDtls(EpostQuery req) {
return epostRcptDtlBean.getEpostRcptDtls(req);
}
@Override
public boolean create(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlBean.create(epostRcptDtl);
}
@Override
public boolean update(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlBean.update(epostRcptDtl);
}
@Override
public boolean remove(EpostRcptDtl epostRcptDtl) {
return epostRcptDtlBean.remove(epostRcptDtl);
}
}

@ -8,12 +8,10 @@ import org.springframework.stereotype.Component;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.fims.epst.dao.EpostRcptRegMapper;
import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.EpostRcptDtl;
/** Bean
*
@ -84,125 +82,68 @@ public class EpostRcptRegBean extends AbstractComponent {
return dataInfo;
}
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean createEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.insertEpostRcptReg(epostRcptReg);
}
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
/**
* @param req
* @return
*/
public boolean updateEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.updateEpostRcptReg(epostRcptReg);
public String getEpostRgNo(String sggCd, String taskSeCd) {
return epostRcptRegMapper.selectEpostRgNo(sggCd, taskSeCd);
}
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
/**
* @param deptCd
* @return
*/
public boolean removeEpostRcptReg(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.deleteEpostRcptReg(epostRcptReg);
public DataObject getDeptSggInfo(String deptCd) {
return epostRcptRegMapper.selectDeptSggInfo(deptCd);
}
/** .
* @param req
* @return
/** CON_KEY .
* @param req
* @return
*/
public List<DataObject> getEpostRcptDtlList(EpostQuery req) {
return epostRcptRegMapper.selectEpostRcptDtlList(req);
}
public String getEpostSenderRegSeq(String sndngYmd, String deptCd) {
String conKey = "";
if (deptCd.length() == 7) {
conKey = sndngYmd + "-" + deptCd + "0000";
} else {
conKey = sndngYmd + "-" + deptCd;
}
/** .
* @param req
* @return
*/
public List<EpostRcptDtl> getEpostRcptDtls(EpostQuery req) {
return epostRcptRegMapper.selectEpostRcptDtls(req);
return epostRcptRegMapper.selectEpostSenderRegSeq(conKey);
}
/** .
* @param epostRcptDtl
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean createEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegMapper.insertEpostRcptDtl(epostRcptDtl);
public boolean create(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.insert(epostRcptReg);
}
/** .
* @param epostRcptDtl
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean updateEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegMapper.updateEpostRcptDtl(epostRcptDtl);
public boolean update(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.update(epostRcptReg);
}
/** .
* @param epostRcptDtl
/** .
* @param epostRcptReg
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
public boolean removeEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegMapper.deleteEpostRcptDtl(epostRcptDtl);
}
/** CON_KEY .
* @param req
* @return
*/
public String getEpostSenderRegSeq(String sndngYmd, String deptCd) {
String conKey = "";
if (deptCd.length() == 7) {
conKey = sndngYmd + "-" + deptCd + "0000";
} else {
conKey = sndngYmd + "-" + deptCd;
}
return epostRcptRegMapper.selectEpostSenderRegSeq(conKey);
}
/**
* @param req
* @return
*/
public int getEpostSenderDetailSeq(String sndngYmd) {
return epostRcptRegMapper.selectEpostSenderDetailSeq(sndngYmd);
}
/**
* @param req
* @return
*/
public String getEpostRgNo(String sggCd, String taskSeCd) {
return epostRcptRegMapper.selectEpostRgNo(sggCd, taskSeCd);
}
/**
* @param deptCd
* @return
*/
public DataObject getDeptSggInfo(String deptCd) {
return epostRcptRegMapper.selectDeptSggInfo(deptCd);
public boolean remove(EpostRcptReg epostRcptReg) {
return epostRcptRegMapper.delete(epostRcptReg);
}
}

@ -9,9 +9,8 @@ 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.EpostRcptReg;
import cokr.xit.fims.epst.service.EpostRcptRegService;
/** .
@ -47,43 +46,18 @@ public class EpostRcptRegServiceBean extends AbstractServiceBean implements Epos
}
@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);
public boolean create(EpostRcptReg epostRcptReg) {
return epostRcptRegBean.create(epostRcptReg);
}
@Override
public boolean updateEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegBean.updateEpostRcptDtl(epostRcptDtl);
public boolean update(EpostRcptReg epostRcptReg) {
return epostRcptRegBean.update(epostRcptReg);
}
@Override
public boolean removeEpostRcptDtl(EpostRcptDtl epostRcptDtl) {
return epostRcptRegBean.removeEpostRcptDtl(epostRcptDtl);
public boolean remove(EpostRcptReg epostRcptReg) {
return epostRcptRegBean.remove(epostRcptReg);
}
}

@ -42,7 +42,7 @@ public class Epst01Controller extends ApplicationController {
* }</code></pre>
*/
public ModelAndView createEpostReceiptRegistration(EpostRcptReg epostRcptReg) {
boolean saved = epostRcptRegService.createEpostRcptReg(epostRcptReg);
boolean saved = epostRcptRegService.create(epostRcptReg);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
@ -55,7 +55,7 @@ public class Epst01Controller extends ApplicationController {
* }</code></pre>
*/
public ModelAndView updateEpostReceiptRegistration(EpostRcptReg epostRcptReg) {
boolean saved = epostRcptRegService.updateEpostRcptReg(epostRcptReg);
boolean saved = epostRcptRegService.update(epostRcptReg);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
@ -69,7 +69,7 @@ public class Epst01Controller extends ApplicationController {
* }</code></pre>
*/
public ModelAndView deleteEpostReceiptRegistration(EpostRcptReg epostRcptReg) {
boolean saved = epostRcptRegService.removeEpostRcptReg(epostRcptReg);
boolean saved = epostRcptRegService.remove(epostRcptReg);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}

@ -21,6 +21,7 @@ import cokr.xit.fims.epst.EpostGdcc;
import cokr.xit.fims.epst.EpostQuery;
import cokr.xit.fims.epst.EpostRcptRslt;
import cokr.xit.fims.epst.service.EpostGdccService;
import cokr.xit.fims.epst.service.EpostRcptDtlService;
import cokr.xit.fims.epst.service.EpostRcptRegService;
import cokr.xit.fims.epst.service.EpostRcptRsltService;
import cokr.xit.foundation.data.DataObject;
@ -64,6 +65,10 @@ public class Epst02Controller extends ApplicationController {
@Resource(name = "epostRcptRegService")
private EpostRcptRegService epostRcptRegService;
/**전자우편 접수 상세 서비스*/
@Resource(name = "epostRcptDtlService")
private EpostRcptDtlService epostRcptDtlService;
/**전자우편 접수 결과 서비스*/
@Resource(name = "epostRcptRsltService")
private EpostRcptRsltService epostRcptRsltService;
@ -106,9 +111,55 @@ public class Epst02Controller extends ApplicationController {
* }</code></pre>
*/
public ModelAndView getEpostGuidanceDocumentList(EpostQuery req) {
List<?> result = epostGdccService.getEpostGdccList(setFetchSize(req));
if (!"xls".equals(req.getDownload())) {
List<?> result = epostGdccService.getEpostGdccList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "epostGdcc");
} else {
XLSWriter xlsx = new XLSWriter()
.setFilename("우편통합 안내문관리 목록.xlsx")
.worksheet(0);
return setCollectionInfo(new ModelAndView("jsonView"), result, "epostGdcc");
XLSWriter.Styler header = new XLSWriter.Styler()
.width(16)
.foregroundColor(HSSFColor.HSSFColorPredefined.GREY_25_PERCENT.getIndex())
.configure(styler -> {
Font font = xlsx.workbook().createFont();
font.setColor(HSSFColor.HSSFColorPredefined.BLACK.getIndex());
styler.font(font);
styler.alignment(HorizontalAlignment.CENTER);
});
/*
CellStyle numeric = xlsx.n_nn0() // 숫자 3자리 콤마(,)
, dateYMD = xlsx.yyyy_mm_dd() // 연월일
, dateTM = xlsx.hh_mm_ss() // 시간
, dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); // 연월일 시간
*/
CellStyle dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); // 연월일 시간
xlsx.cell(0, 0)
.value("우편통합 안내문관리 목록", XLSWriter.Styler.CENTER)
.merge(0, 8)
.cell(3, 0)
.rowValues(List.of(
"업무구분", header, "발송구분", header, "사용여부", header, "최종사용일시", header, "제목", header
, "등록일시", header, "등록사용자", header, "수정일시", header, "수정사용자", header
))
.cell(4, 0)
.values( epostGdccService.getEpostGdccList(req.setFetchSize(0))
, xlsx.style("TASK_SE_NM", XLSWriter.Styler.CENTER)
, xlsx.style("SNDNG_SE_NM", XLSWriter.Styler.CENTER)
, xlsx.style("USE_YN_NM", XLSWriter.Styler.CENTER)
, xlsx.format(r -> xlsx.str2datetime(r.get("LAST_USE_DT"))).style(dateDT)
, xlsx.style("TTL_NM", XLSWriter.Styler.LEFT)
, xlsx.format(r -> xlsx.str2datetime(r.get("REG_DT"))).style(dateDT)
, xlsx.style("RGTR_NM", XLSWriter.Styler.LEFT)
, xlsx.format(r -> xlsx.str2datetime(r.get("MDFCN_DT"))).style(dateDT)
, xlsx.style("MDFR_NM", XLSWriter.Styler.LEFT)
);
return new ModelAndView("xlsView")
.addObject("xls", xlsx);
}
}
/** (info) .
@ -207,46 +258,6 @@ public class Epst02Controller extends ApplicationController {
.addObject("rtnMsg", rtnMsg);
}
/** .
* @param epostGdcc
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView create(EpostGdcc epostGdcc) {
boolean saved = epostGdccService.create(epostGdcc);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
/** .
* @param epostGdcc
* @return jsonView
* <pre><code> {
* "saved": true, false
* }</code></pre>
*/
public ModelAndView update(EpostGdcc epostGdcc) {
boolean saved = epostGdccService.update(epostGdcc);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
/** .
* @param epostGdccIDs
* @return jsonView
* <pre><code> {
* "affected":
* "saved": true, false
* }</code></pre>
*/
public ModelAndView remove(EpostGdcc epostGdcc) {
boolean saved = epostGdccService.remove(epostGdcc);
return new ModelAndView("jsonView")
.addObject("saved", saved);
}
/** (epostRcptReg/epostRcptReg-main) .
* {@link #getEpostRcptRegList(EpostRcptRegQuery) } .
* @return /epostRcptReg/epostRcptReg-main
@ -280,9 +291,53 @@ public class Epst02Controller extends ApplicationController {
* }</code></pre>
*/
public ModelAndView getEpostReceiptRegistrationList(EpostQuery req) {
List<?> result = epostRcptRegService.getEpostRcptRegList(setFetchSize(req));
if (!"xls".equals(req.getDownload())) {
List<?> result = epostRcptRegService.getEpostRcptRegList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, "epostRcptReg");
} else {
XLSWriter xlsx = new XLSWriter()
.setFilename("우편통합 발송상태 목록.xlsx")
.worksheet(0);
return setCollectionInfo(new ModelAndView("jsonView"), result, "epostRcptReg");
XLSWriter.Styler header = new XLSWriter.Styler()
.width(16)
.foregroundColor(HSSFColor.HSSFColorPredefined.GREY_25_PERCENT.getIndex())
.configure(styler -> {
Font font = xlsx.workbook().createFont();
font.setColor(HSSFColor.HSSFColorPredefined.BLACK.getIndex());
styler.font(font);
styler.alignment(HorizontalAlignment.CENTER);
});
CellStyle numeric = xlsx.n_nn0() // 숫자 3자리 콤마(,)
, dateYMD = xlsx.yyyy_mm_dd() // 연월일
, dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); // 연월일 시간
xlsx.cell(0, 0)
.value("우편통합 발송상태 목록", XLSWriter.Styler.CENTER)
.merge(0, 8)
.cell(3, 0)
.rowValues(List.of(
"발송일자", header, "발송내역", header, "취급구분", header, "접수일자", header, "자료키", header
, "발송건수", header, "우편처리상태", header
, "등록일시", header, "등록사용자", header
))
.cell(4, 0)
.values( epostRcptRegService.getEpostRcptRegList(req.setFetchSize(0))
, xlsx.format(r -> xlsx.str2date(r.get("SEND_DATE"))).style(dateYMD)
, xlsx.style("JOB_CD", XLSWriter.Styler.CENTER)
, xlsx.style("DIV_KB_NM", XLSWriter.Styler.CENTER)
, xlsx.format(r -> xlsx.str2date(r.get("RCEPT_YMD"))).style(dateYMD)
, xlsx.style("CON_KEY", XLSWriter.Styler.CENTER)
, xlsx.style("RECEV_CNT", numeric)
, xlsx.style("POST_PRCS_STTS_NM", XLSWriter.Styler.CENTER)
, xlsx.format(r -> xlsx.str2datetime(r.get("REG_DT"))).style(dateDT)
, xlsx.style("RGTR_NM", XLSWriter.Styler.LEFT)
);
return new ModelAndView("xlsView")
.addObject("xls", xlsx);
}
}
/** (info) .
@ -372,16 +427,17 @@ public class Epst02Controller extends ApplicationController {
XLSWriter.Styler header = new XLSWriter.Styler()
.width(16)
.foregroundColor(HSSFColor.HSSFColorPredefined.LIGHT_BLUE.getIndex())
.foregroundColor(HSSFColor.HSSFColorPredefined.GREY_25_PERCENT.getIndex())
.configure(styler -> {
Font font = xlsx.workbook().createFont();
font.setColor(HSSFColor.HSSFColorPredefined.WHITE.getIndex());
font.setColor(HSSFColor.HSSFColorPredefined.BLACK.getIndex());
styler.font(font);
styler.alignment(HorizontalAlignment.CENTER);
});
CellStyle numeric = xlsx.n_nn0()
, dateYmd = xlsx.yyyy_mm_dd();
CellStyle numeric = xlsx.n_nn0() // 숫자 3자리 콤마(,)
, dateYMD = xlsx.yyyy_mm_dd() // 연월일
, dateDT = xlsx.yyyy_mm_dd_hh_mm_ss(); // 연월일 시간
xlsx.cell(0, 0)
.value("우편통합 접수결과 목록", XLSWriter.Styler.CENTER)
@ -397,14 +453,15 @@ public class Epst02Controller extends ApplicationController {
, xlsx.style("RELETCDATA", XLSWriter.Styler.CENTER)
, xlsx.style("JOB_CD", XLSWriter.Styler.CENTER)
, xlsx.style("JOB_CD3_NM", XLSWriter.Styler.CENTER)
, xlsx.format(r -> xlsx.str2date(r.get("EXTRI_REGYMD"))).style(dateYmd)
, xlsx.format(r -> xlsx.str2date(r.get("RCEPT_YMD"))).style(dateYmd)
, xlsx.format(r -> xlsx.str2date(r.get("EXTRI_REGYMD"))).style(dateYMD)
, xlsx.format(r -> xlsx.str2date(r.get("RCEPT_YMD"))).style(dateYMD)
, xlsx.style("DIV_KB_NM", XLSWriter.Styler.CENTER)
, xlsx.style("RCEPT_CNT", numeric)
, xlsx.style("RCEPT_AMT", numeric)
, xlsx.style("USEFEE_AMT", numeric)
, xlsx.style("TOTPOST_PRC", numeric)
, "REG_DT", "RGTR_NM"
, xlsx.format(r -> xlsx.str2datetime(r.get("REG_DT"))).style(dateDT)
, xlsx.style("RGTR_NM", XLSWriter.Styler.LEFT)
);
return new ModelAndView("xlsView")

@ -16,6 +16,7 @@ import cokr.xit.fims.cmmn.service.bean.VltnBean;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.epst.EpostRcptDtl;
import cokr.xit.fims.epst.EpostRcptReg;
import cokr.xit.fims.epst.service.bean.EpostRcptDtlBean;
import cokr.xit.fims.epst.service.bean.EpostRcptRegBean;
import cokr.xit.fims.levy.Levy;
import cokr.xit.fims.levy.service.bean.LevyBean;
@ -74,6 +75,10 @@ public class SndngBean extends AbstractComponent {
@Resource(name = "epostRcptRegBean")
private EpostRcptRegBean epostRcptRegBean;
/** 전자우편 접수 상세 정보 Bean */
@Resource(name = "epostRcptDtlBean")
private EpostRcptDtlBean epostRcptDtlBean;
/** 파일 Bean */
@Resource(name="fileBean")
private FileBean fileBean;
@ -600,7 +605,7 @@ public class SndngBean extends AbstractComponent {
int seqNo = 0;
if (sndng.getPostSndngSeCd().equals("0")) {
seqNo = epostRcptRegBean.getEpostSenderDetailSeq(sndngInfo.string("TODAY"));
seqNo = epostRcptDtlBean.getEpostSenderDetailSeq(sndngInfo.string("TODAY"));
}
// 포맷: 등록일(REG_YMD)-발송기관코드(RECEV_SENDER_ORG_CODE)-업무코드(WORK_ID)-우편물구분(POST_SE)일련번호(RECEV_SEQ_NO)
// 예시: 20170719-40504370000-003-1001
@ -694,7 +699,7 @@ public class SndngBean extends AbstractComponent {
epostRcptReg.setSndngId(sndngInfo.string("SNDNG_ID")); // 발송 ID
// 6. 전자우편 접수 등록
retSuccess = epostRcptRegBean.createEpostRcptReg(epostRcptReg);
retSuccess = epostRcptRegBean.create(epostRcptReg);
if (!retSuccess) {
// 예외를 발생시켜서 오류메세지를 보내고 DB Rollback
throw new RuntimeException("우편통합 발송 작업중 전자우편 접수 등록에 실패하였습니다.");
@ -1110,7 +1115,7 @@ public class SndngBean extends AbstractComponent {
}
// 10. 전자우편 접수 상세
retSuccess = epostRcptRegBean.createEpostRcptDtl(epostRcptDtl);
retSuccess = epostRcptDtlBean.create(epostRcptDtl);
if (!retSuccess) {
throw new RuntimeException("우편통합 발송 작업중 전자우편 상세 등록에 실패하였습니다."); // 예외를 발생시켜서 DB Rollback
}

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

@ -0,0 +1,419 @@
<?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.EpostRcptDtlMapper">
<!-- 전자우편 접수 상세 정보 매퍼
========== 변경 이력 ==========
2023-12-15 JoJH 최초 작성
============================ -->
<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="recevBillNumber" column="RECEV_BILL_NUMBER" /> <!-- 고지번호 -->
<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="makeRsltCd" column="MAKE_RSLT_CD" /> <!-- 제작 결과 코드 -->
<result property="dlvrRsltId" column="DLVR_RSLT_ID" /> <!-- 배달 결과 ID -->
<result property="delYN" column="DEL_YN" /> <!-- 삭제 여부 -->
<result property="createdAt" column="REG_DT" /> <!-- 등록 일시 -->
<result property="createdBy" column="RGTR" /> <!-- 등록자 -->
<result property="lastModified" column="MDFCN_DT" /> <!-- 수정 일시 -->
<result property="modifiedBy" column="MDFR" /> <!-- 수정자 -->
<result property="removedAt" column="DEL_DT" /> <!-- 삭제 일시 -->
<result property="removedBy" column="DLTR" /> <!-- 삭제자 -->
</resultMap>
<sql id="select">
SELECT CON_KEY <!-- 외부연계식별키 -->
, RGST_NMBR <!-- 등기번호 -->
, RECEV_SEQ <!-- 일련번호 -->
, RECEV_CODE <!-- 발송코드 -->
, RECEV_BAR1D <!-- 바코드 -->
, RECEV_BAR2D <!-- 이차원바코드 -->
, RECEV_BILL_NUMBER <!-- 고지번호 -->
, 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 <!-- 전자납부번호 -->
, VRACTNO <!-- 가상계좌번호 -->
, 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 -->
, DTL_VAR_DATA1 <!-- 추가 데이터1 -->
, DTL_VAR_DATA2 <!-- 추가 데이터2 -->
, DTL_VAR_DATA3 <!-- 추가 데이터3 -->
, DTL_VAR_DATA4 <!-- 추가 데이터4 -->
, DTL_VAR_DATA5 <!-- 추가 데이터5 -->
, MAKE_RSLT_CD <!-- 제작 결과 코드 -->
, DLVR_RSLT_ID <!-- 배달 결과 ID -->
, REG_DT <!-- 등록 일시 -->
, RGTR <!-- 등록자 -->
, DEL_YN <!-- 삭제 여부 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
, DEL_DT <!-- 삭제 일시 -->
, DLTR <!-- 삭제자 -->
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>
<select id="selectEpostSenderDetailSeq" parameterType="String">/* 전자우편 접수 상세 등기번호 조회(epostRcptRegMapper.selectEpostSenderDetailSeq) */
SELECT IFNULL(RIGHT(MAX(RGST_NMBR), 5), 0) AS RGST_NMBR <!-- 등기 번호 -->
FROM TB_EPOST_RCPT_DTL
WHERE RGST_NMBR LIKE CONCAT(#{sndngYmd}, '%')
</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_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 <!-- 등록자 -->
, RECEV_BILL_NUMBER <!-- 고지번호 -->
, VRACTNO <!-- 가상계좌번호 -->
, DTL_VAR_DATA1 <!-- 추가 데이터1 -->
, DTL_VAR_DATA2 <!-- 추가 데이터2 -->
, DTL_VAR_DATA3 <!-- 추가 데이터3 -->
, DTL_VAR_DATA4 <!-- 추가 데이터4 -->
, DTL_VAR_DATA5 <!-- 추가 데이터5 -->
, DEL_YN <!-- 삭제 여부 -->
, MDFCN_DT <!-- 수정 일시 -->
, MDFR <!-- 수정자 -->
, DEL_DT <!-- 삭제 일시 -->
, DLTR <!-- 삭제자 -->
) VALUES (
#{epostRcptDtl.conKey} <!-- 외부연계식별키 -->
, #{epostRcptDtl.rgstNmbr} <!-- 등기번호 -->
, #{epostRcptDtl.recevSeq} <!-- 일련번호 -->
, #{epostRcptDtl.recevCode} <!-- 발송코드 -->
, #{epostRcptDtl.recevBar1d} <!-- 바코드 -->
, #{epostRcptDtl.recevBar2d} <!-- 이차원바코드 -->
, #{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.recevBillNumber} <!-- 고지번호 -->
, #{epostRcptDtl.vractno} <!-- 가상계좌번호 -->
, #{epostRcptDtl.dtlVarData1} <!-- 추가 데이터1 -->
, #{epostRcptDtl.dtlVarData2} <!-- 추가 데이터2 -->
, #{epostRcptDtl.dtlVarData3} <!-- 추가 데이터3 -->
, #{epostRcptDtl.dtlVarData4} <!-- 추가 데이터4 -->
, #{epostRcptDtl.dtlVarData5} <!-- 추가 데이터5 -->
, #{epostRcptDtl.delYn} <!-- 삭제 여부 -->
, <include refid="utility.now" /> <!-- 수정 일시 -->
, #{currentUser.id} <!-- 수정자 -->
, #{epostRcptDtl.removedAt} <!-- 삭제 일시 -->
, #{epostRcptDtl.removedBy} <!-- 삭제자 -->
)
</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_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} <!-- 제작 결과 코드 -->
, RECEV_BILL_NUMBER = #{epostRcptDtl.recevBillNumber} <!-- 고지번호 -->
, 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 -->
, DEL_YN = #{epostRcptDtl.delYn} <!-- 삭제 여부 -->
, MDFCN_DT = <include refid="utility.now" /> <!-- 수정 일시 -->
, MDFR = #{currentUser.id} <!-- 수정자 -->
, DEL_DT = #{epostRcptDtl.removedAt} <!-- 삭제 일시 -->
, DLTR = #{epostRcptDtl.removedBy} <!-- 삭제자 -->
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>

@ -62,82 +62,6 @@
<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="recevBillNumber" column="RECEV_BILL_NUMBER" /> <!-- 고지번호 -->
<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="makeRsltCd" column="MAKE_RSLT_CD" /> <!-- 제작 결과 코드 -->
<result property="dlvrRsltId" column="DLVR_RSLT_ID" /> <!-- 배달 결과 ID -->
<result property="delYN" column="DEL_YN" /> <!-- 삭제 여부 -->
<result property="createdAt" column="REG_DT" /> <!-- 등록 일시 -->
<result property="createdBy" column="RGTR" /> <!-- 등록자 -->
<result property="lastModified" column="MDFCN_DT" /> <!-- 수정 일시 -->
<result property="modifiedBy" column="MDFR" /> <!-- 수정자 -->
<result property="removedAt" column="DEL_DT" /> <!-- 삭제 일시 -->
<result property="removedBy" column="DLTR" /> <!-- 삭제자 -->
</resultMap>
<sql id="selectEpostRcptReg">
SELECT ERR.CON_KEY <!-- 외부연계식별키 -->
, ERR.RCEPT_ID <!-- 접수우체국국기호 -->
@ -188,6 +112,7 @@
, ERR.RGTR <!-- 등록자 -->
, ERR.DEL_DT <!-- 삭제 일시 -->
, ERR.DLTR <!-- 삭제자 -->
, (SELECT GET_CODE_NM('EGP002', ERR.DIV_KB) FROM DUAL) AS DIV_KB_NM /* 취급 구분 명 */
, (SELECT GET_CODE_NM('EGP012', ERR.POST_PRCS_STTS_CD) FROM DUAL) AS POST_PRCS_STTS_NM /* 우편 처리 상태 명 */
, (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = ERR.RGTR) AS RGTR_NM /* 등록자 명 */
, (SELECT USER_NM FROM TB_USER X WHERE X.USER_ID = ERR.DLTR) AS DLTR_NM /* 삭제자 명 */
@ -221,6 +146,60 @@
</if>
</where>
AND ERR.DEL_YN = 'N'
<choose>
<when test="schRegDateOpt == 'regDt'">
<if test="schRegDateFrom != null">
AND SUBSTR(ERR.REG_DT,1,8) <![CDATA[>=]]> #{schRegDateFrom} /* 등록 일자 시작 */
</if>
<if test="schRegDateTo != null">
AND SUBSTR(ERR.REG_DT,1,8) <![CDATA[<=]]> #{schRegDateTo} /* 등록 일자 종료 */
</if>
</when>
<when test="schRegDateOpt == 'mdfcnDt'">
<if test="schRegDateFrom != null">
AND SUBSTR(ERR.MDFCN_DT,1,8) <![CDATA[>=]]> #{schRegDateFrom} /* 수정 일자 시작 */
</if>
<if test="schRegDateTo != null">
AND SUBSTR(ERR.MDFCN_DT,1,8) <![CDATA[<=]]> #{schRegDateTo} /* 수정 일자 종료 */
</if>
</when>
<otherwise>
</otherwise>
</choose>
<choose>
<when test="schRgtrOpt == 'rgtr'">
<if test="schRgtrCd != null">
AND ERR.RGTR = #{schRgtrCd} /* 등록자 코드 */
</if>
</when>
<when test="schRgtrOpt == 'mdfr'">
<if test="schRgtrCd != null">
AND ERR.MDFR = #{schRgtrCd} /* 수정자 코드 */
</if>
</when>
<otherwise>
</otherwise>
</choose>
<if test="by != null and by != '' and term != null">
<choose>
<when test="mainOption == 'codeValue' or mainOption == 'match' or mainOption == 'ymd'">
<include refid="dynamicSearch.start" />
<choose>
<when test="by == 'sendDate'"> ERR.SEND_DATE </when>
<when test="by == 'jobCd'"> ERR.JOB_CD </when>
<when test="by == 'divKb'"> ERR.DIV_KB </when>
<when test="by == 'rceptYmd'"> ERR.RCEPT_YMD </when>
<when test="by == 'rceptAmt'"> ERR.RCEPT_AMT </when>
<when test="by == 'conKey'"> ERR.CON_KEY </when>
<when test="by == 'recevCnt'"> ERR.RECEV_CNT </when>
<when test="by == 'postPrcsSttsCd'"> ERR.POST_PRCS_STTS_CD </when>
</choose>
<include refid="dynamicSearch.center" />#{term}<include refid="dynamicSearch.end" />
</when>
<otherwise>
</otherwise>
</choose>
</if>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />
</select>
@ -391,319 +370,12 @@ UPDATE TB_EPOST_RCPT_REG SET
WHERE CON_KEY = #{epostRcptReg.conKey}</update>
<sql id="selectEpostRcptDtl">SELECT CON_KEY <!-- 외부연계식별키 -->
, RGST_NMBR <!-- 등기번호 -->
, RECEV_SEQ <!-- 일련번호 -->
, RECEV_CODE <!-- 발송코드 -->
, RECEV_BAR1D <!-- 바코드 -->
, RECEV_BAR2D <!-- 이차원바코드 -->
, RECEV_BILL_NUMBER <!-- 고지번호 -->
, 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="selectEpostRcptDtl" />
<where></where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" /></select>
<select id="selectEpostRcptDtls" parameterType="map" resultMap="epostRcptDtlRow">/* 전자우편 접수 상세 객체 가져오기(epostRcptDtlMapper.selectEpostRcptDtls) */
<include refid="selectEpostRcptDtl" />
<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_NUMBER <!-- 고지번호 -->
, 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.recevBillNumber} <!-- 고지번호 -->
, #{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_NUMBER = #{epostRcptDtl.recevBillNumber} <!-- 고지번호 -->
, 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 -->
, VRACTNO = #{epostRcptDtl.vractno} <!-- 가상계좌번호 -->
, 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 -->
, 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 -->
, DLVR_RSLT_ID = #{epostRcptDtl.dlvrRsltId} <!-- 배달 결과 ID -->
, MAKE_RSLT_CD = #{epostRcptDtl.makeRsltCd} <!-- 제작 결과 코드 -->
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>
<select id="selectEpostSenderRegSeq" parameterType="String" resultType="String">/* 전자우편 접수 CON_KEY 조회(epostRcptRegMapper.selectEpostSenderRegSeq) */
SELECT LPAD(IFNULL(RIGHT(MAX(CON_KEY), 3), '000') + 1, 3, '0') AS CON_KEY <!-- 외부연계식별키 -->
FROM TB_EPOST_RCPT_REG
WHERE CON_KEY LIKE CONCAT(#{conKey}, '%')
</select>
<select id="selectEpostSenderDetailSeq" parameterType="String">/* 전자우편 접수 상세 등기번호 조회(epostRcptRegMapper.selectEpostSenderDetailSeq) */
SELECT IFNULL(RIGHT(MAX(RGST_NMBR), 5), 0) AS RGST_NMBR <!-- 등기 번호 -->
FROM TB_EPOST_RCPT_DTL
WHERE RGST_NMBR LIKE CONCAT(#{sndngYmd}, '%')
</select>
<select id="selectEpostRgNo" parameterType="String" resultType="String">/* 전자우편 등기번호 조회(epostRcptRegMapper.selectEpostRgNo) */
SELECT RG_NO <!-- 등기 번호 -->
, RG_NO_NEXT <!-- 다음 등기 번호 -->

@ -75,32 +75,34 @@
</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 text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
<select class="form-select text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
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="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택">
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
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 text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
<select class="form-select text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
<option value="rgtr">등록자</option>
<option value="mdfr">수정자</option>
</select>
<input type="text" class="form-control w-px-160" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" autocomplete="off" />
<input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
<input type="text" class="form-control" id="schRgtrNm--${pageName}" name="schRgtrNm" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색" onclick="fnFindUser${pageName}();">
검색
</button>
@ -390,6 +392,32 @@
/**************************************************************************
* 사용자 함수(function)
**************************************************************************/
// callback 사용자 검색
callbackFindUser${pageName} = (userId, userNm) => {
$("#schRgtrCd--${pageName}").val(userId); // 사용자 ID
$("#schRgtrNm--${pageName}").val(userNm); // 사용자 명
}
// 사용자 검색
getFindUser${pageName} = () => {
let params = {
callbackFuncName : "callbackFindUser${pageName}"
}
ajax.get({
url : wctx.url("/user/user02/010/main.do")
, data : params || {}
, success : resp => {
dialog.open({
id : "userDialog"
, title : "사용자 검색"
, content : resp
, size : "lg"
});
}
});
}
// 검색 자료 재조회
refreshList${pageName} = () => {
${pageName}Control.untilPageNum = ${pageName}Control.query.pageNum;
@ -415,7 +443,7 @@
setURL${pageName}(taskSeCd);
// 기본 데이터 설정
setFormData${pageName}();
setFormData${pageName}(taskSeCd);
}
// 검색 버튼 이벤트
@ -431,12 +459,12 @@
// 엑셀 버튼 이벤트
fnExcel${pageName} = () => {
${pageName}Control.download();
}
// 사용자 조회 버튼 이벤트
fnUser${pageName} = () => {
fnFindUser${pageName} = () => {
getFindUser${pageName}();
}
// 전자우편 안내문 등록 버튼 이벤트
@ -497,7 +525,6 @@
initForm${pageName} = (taskSeCd) => {
// 화면 초기화
$("#frmSearch--${pageName}")[0].reset();
// 업무 구분 코드
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true);
// 최고 관리자 경우 업무구분을 선택할 수 있도록 하자.
@ -508,6 +535,9 @@
// 달력 초기화
initDatepicker("frmSearch--${pageName}");
// 사용자 이름
$("#schRgtrNm--${pageName}").prop("readonly", true);
// dataset 초기화
${pageName}Control.dataset.clear();
}
@ -520,7 +550,11 @@
}
// 기본 데이터 설정
setFormData${pageName} = () => {
setFormData${pageName} = (taskSeCd) => {
// 화면 데이터 설정
$("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분
// ${pageName}Control 설정
${pageName}Control.defaultFetchSize = FETCH_XS; // 1 페이지당 조회되는 자료 건수 index.jsp에서 확인 FETCH_XS = 30
}
@ -532,18 +566,11 @@
// 이벤트 설정
setEvent${pageName}();
// 시군구 코드 설정
$("#sggCd--${pageName}").val("${sggCd}");
// 업무 구분 설정
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
// 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
// 화면 초기 설정 및 업무 구분 변경
fnResetAndChangeBiz${pageName}(defaultBizValue);
fnResetAndChangeBiz${pageName}($("#layout-navbar input[name='taskSeCd']:checked").val());
});
</script>

@ -94,33 +94,35 @@
</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 text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
<select class="form-select text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
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="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택">
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
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 text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
<select class="form-select text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
<option value="rgtr">등록자</option>
<option value="mdfr">수정자</option>
</select>
<input type="text" class="form-control w-px-160" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" autocomplete="off" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnUser--${pageName}" title="사용자 검색" onclick="fnUser${pageName}();">
<input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
<input type="text" class="form-control" id="schRgtrNm--${pageName}" name="schRgtrNm" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색" onclick="fnFindUser${pageName}();">
검색
</button>
</div>
@ -235,10 +237,9 @@
<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: 120px;" onclick="searchFromGridTitle('SEND_DATE', this.innerText, 'ymd', '');">발송일자</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('JOB_CD', this.innerText, 'match', 'part');">발송내역</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('DIV_KB', this.innerText, 'match', 'part');">등기</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('DIV_KB', this.innerText, 'codeValue', 'EGP002');">취급구분</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCEPT_YMD', this.innerText, 'ymd', '');">접수일자</th>
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('CON_KEY', this.innerText, 'match', 'part');">자료키</th>
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RECEV_CNT', this.innerText, 'match', 'part');">발송건수</th>
@ -258,7 +259,7 @@
</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SEND_DATE}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{JOB_CD}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DIV_KB}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DIV_KB_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCEPT_YMD}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CON_KEY}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RECEV_CNT}</td>
@ -466,6 +467,32 @@
/**************************************************************************
* 사용자 함수
**************************************************************************/
// callback 사용자 검색
callbackFindUser${pageName} = (userId, userNm) => {
$("#schRgtrCd--${pageName}").val(userId); // 사용자 ID
$("#schRgtrNm--${pageName}").val(userNm); // 사용자 명
}
// 사용자 검색
getFindUser${pageName} = () => {
let params = {
callbackFuncName : "callbackFindUser${pageName}"
}
ajax.get({
url : wctx.url("/user/user02/010/main.do")
, data : params || {}
, success : resp => {
dialog.open({
id : "userDialog"
, title : "사용자 검색"
, content : resp
, size : "lg"
});
}
});
}
// 검색 자료 재조회
refreshList${pageName} = () => {
${pageName}Control.untilPageNum = ${pageName}Control.query.pageNum;
@ -491,7 +518,7 @@
setURL${pageName}(taskSeCd);
// 기본 데이터 설정
setFormData${pageName}();
setFormData${pageName}(taskSeCd);
}
// 검색 버튼 이벤트
@ -537,12 +564,12 @@
// 엑셀 버튼 이벤트
fnExcel${pageName} = () => {
${pageName}Control.download();
}
// 사용자 검색 버튼 이벤트
fnFindUser${pageName} = () => {
getFindUser${pageName}();
}
// 발송 취소 버튼 이벤트
@ -667,6 +694,9 @@
$("#schSendDateFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-1365).date);
$("#schSendDateTo--${pageName}").datepicker("setDate", new Date());
// 사용자 이름
$("#schRgtrNm--${pageName}").prop("readonly", true);
// dataset 초기화
${pageName}Control.dataset.clear();
}
@ -679,7 +709,11 @@
}
// 기본 데이터 설정
setFormData${pageName} = () => {
setFormData${pageName} = (taskSeCd) => {
// 화면 데이터 설정
$("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분
// ${pageName}Control 설정
${pageName}Control.defaultFetchSize = FETCH_XS; // 1 페이지당 조회되는 자료 건수 index.jsp에서 확인 FETCH_XS = 30
@ -694,18 +728,11 @@
// 이벤트 설정
setEvent${pageName}();
// 시군구 코드 설정
$("#sggCd--${pageName}").val("${sggCd}");
// 업무 구분 설정
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
// 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
// 화면 초기 설정 및 업무 구분 변경
fnResetAndChangeBiz${pageName}(defaultBizValue);
fnResetAndChangeBiz${pageName}($("#layout-navbar input[name='taskSeCd']:checked").val());
});
</script>

@ -78,8 +78,7 @@
</span>
</div>
</div>
</div>
<!-- / 메인 조건 -->
</div> <!-- / 메인 조건 -->
<!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
@ -410,7 +409,7 @@
});
}
//
// callback 사용자 검색
callbackFindUser${pageName} = (userId, userNm) => {
$("#schRgtrCd--${pageName}").val(userId); // 사용자 ID
$("#schRgtrNm--${pageName}").val(userNm); // 사용자 명
@ -541,7 +540,8 @@
$("#schExtriRegymdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-365).date);
$("#schExtriRegymdTo--${pageName}").datepicker("setDate", new Date());
$("#schDetailRgtrNm--${pageName}").prop("readonly", true); // 사용자이름
// 사용자 이름
$("#schRgtrNm--${pageName}").prop("readonly", true);
// dataset 초기화
${pageName}Control.dataset.clear();

Loading…
Cancel
Save