|
|
@ -26,8 +26,10 @@ import cokr.xit.fims.cmmn.CrdnSttsHstry;
|
|
|
|
import cokr.xit.fims.cmmn.service.bean.CrdnPayerHstryBean;
|
|
|
|
import cokr.xit.fims.cmmn.service.bean.CrdnPayerHstryBean;
|
|
|
|
import cokr.xit.fims.cmmn.service.bean.CrdnSttsHstryBean;
|
|
|
|
import cokr.xit.fims.cmmn.service.bean.CrdnSttsHstryBean;
|
|
|
|
import cokr.xit.fims.crdn.Crdn;
|
|
|
|
import cokr.xit.fims.crdn.Crdn;
|
|
|
|
|
|
|
|
import cokr.xit.fims.crdn.Team;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnInstMapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnInstMapper;
|
|
|
|
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnTeamMapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnUpdtMapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnUpdtMapper;
|
|
|
|
import cokr.xit.fims.excl.LevyExcl;
|
|
|
|
import cokr.xit.fims.excl.LevyExcl;
|
|
|
|
import cokr.xit.fims.excl.service.bean.Excl01Bean;
|
|
|
|
import cokr.xit.fims.excl.service.bean.Excl01Bean;
|
|
|
@ -65,6 +67,10 @@ public class CrdnBean extends AbstractComponent {
|
|
|
|
@Resource(name = "crdnUpdtMapper")
|
|
|
|
@Resource(name = "crdnUpdtMapper")
|
|
|
|
private CrdnUpdtMapper crdnUpdtMapper;
|
|
|
|
private CrdnUpdtMapper crdnUpdtMapper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name = "crdnTeamMapper")
|
|
|
|
|
|
|
|
private CrdnTeamMapper crdnTeamMapper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean create(Map<String, Object> nonQueryRequest, Crdn crdn, List<FileInfo> fileInfoList) {
|
|
|
|
public boolean create(Map<String, Object> nonQueryRequest, Crdn crdn, List<FileInfo> fileInfoList) {
|
|
|
|
if(fileInfoList != null && !fileInfoList.isEmpty()) {
|
|
|
|
if(fileInfoList != null && !fileInfoList.isEmpty()) {
|
|
|
|
crdn.setAtchFileCnt(fileInfoList.size());
|
|
|
|
crdn.setAtchFileCnt(fileInfoList.size());
|
|
|
@ -78,10 +84,24 @@ public class CrdnBean extends AbstractComponent {
|
|
|
|
crdn.setFfnlgAmt(basicAmt[0]);
|
|
|
|
crdn.setFfnlgAmt(basicAmt[0]);
|
|
|
|
crdn.setAdvntceAmt(basicAmt[1]);
|
|
|
|
crdn.setAdvntceAmt(basicAmt[1]);
|
|
|
|
|
|
|
|
|
|
|
|
//TODO : 단속팀 저장
|
|
|
|
//단속팀 정보 갱신
|
|
|
|
//if(!ifEmpty(crdn.getTeamId(), () -> "").equals("")) {
|
|
|
|
if(!ifEmpty(crdn.getTeamId(), () -> "").equals("")) {
|
|
|
|
//}
|
|
|
|
DataObject teamInfo = crdnTeamMapper.selectTeamInfo(crdn.getTeamId());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Team team = new Team();
|
|
|
|
|
|
|
|
team.setTaskSeCd(crdn.getTaskSeCd());
|
|
|
|
|
|
|
|
team.setSggCd(crdn.getSggCd());
|
|
|
|
|
|
|
|
team.setTeamNm(teamInfo.string("TEAM_NM"));
|
|
|
|
|
|
|
|
team.setCrdnSeCd(crdn.getCrdnSeCd());
|
|
|
|
|
|
|
|
team.setTeamer1(crdn.getTeamer1());
|
|
|
|
|
|
|
|
team.setTeamer2(crdn.getTeamer2());
|
|
|
|
|
|
|
|
team.setTeamer3(crdn.getTeamer3());
|
|
|
|
|
|
|
|
team.setTeamer4(crdn.getTeamer4());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
crdnStngBean.saveTeamInfo(true, team);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//상태코드 설정
|
|
|
|
if(ifEmpty(crdn.getCrdnSttsCd(), () -> "").equals("")){ //상태코드가 없을경우
|
|
|
|
if(ifEmpty(crdn.getCrdnSttsCd(), () -> "").equals("")){ //상태코드가 없을경우
|
|
|
|
if(ifEmpty(crdn.getCvlcptLinkYn(), () -> "").equals("Y")) { //민원연계자료일 경우
|
|
|
|
if(ifEmpty(crdn.getCvlcptLinkYn(), () -> "").equals("Y")) { //민원연계자료일 경우
|
|
|
|
crdn.setCrdnSttsCd("01"); //초기상태
|
|
|
|
crdn.setCrdnSttsCd("01"); //초기상태
|
|
|
@ -94,6 +114,7 @@ public class CrdnBean extends AbstractComponent {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//단속 대장 등록
|
|
|
|
boolean result = this.createLedger(crdn);
|
|
|
|
boolean result = this.createLedger(crdn);
|
|
|
|
if (!result) {
|
|
|
|
if (!result) {
|
|
|
|
throw new RuntimeException("단속자료 등록 중 단속자료 등록에 실패하였습니다.");
|
|
|
|
throw new RuntimeException("단속자료 등록 중 단속자료 등록에 실패하였습니다.");
|
|
|
|