|
|
@ -18,11 +18,12 @@ import cokr.xit.base.file.FileInfo;
|
|
|
|
import cokr.xit.base.file.service.FileQuery;
|
|
|
|
import cokr.xit.base.file.service.FileQuery;
|
|
|
|
import cokr.xit.base.file.service.bean.FileBean;
|
|
|
|
import cokr.xit.base.file.service.bean.FileBean;
|
|
|
|
import cokr.xit.fims.cmmn.CmmnUtil;
|
|
|
|
import cokr.xit.fims.cmmn.CmmnUtil;
|
|
|
|
|
|
|
|
import cokr.xit.fims.cmmn.CrdnPayerHstry;
|
|
|
|
import cokr.xit.fims.cmmn.CrdnSttsHstry;
|
|
|
|
import cokr.xit.fims.cmmn.CrdnSttsHstry;
|
|
|
|
|
|
|
|
import cokr.xit.fims.cmmn.dao.CrdnPayerHstryMapper;
|
|
|
|
import cokr.xit.fims.cmmn.dao.CrdnSttsHstryMapper;
|
|
|
|
import cokr.xit.fims.cmmn.dao.CrdnSttsHstryMapper;
|
|
|
|
import cokr.xit.fims.cmmn.hwp.AddingParagraphBetweenHWPFile;
|
|
|
|
import cokr.xit.fims.cmmn.hwp.AddingParagraphBetweenHWPFile;
|
|
|
|
import cokr.xit.fims.cmmn.hwp.InsertingImageCell;
|
|
|
|
import cokr.xit.fims.cmmn.hwp.InsertingImageCell;
|
|
|
|
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.CrdnQuery;
|
|
|
|
import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
import cokr.xit.fims.crdn.dao.Crdn05Mapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.Crdn05Mapper;
|
|
|
@ -58,15 +59,15 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
@Resource(name="excl01Bean")
|
|
|
|
@Resource(name="excl01Bean")
|
|
|
|
private Excl01Bean excl01Bean;
|
|
|
|
private Excl01Bean excl01Bean;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="crdnSttsHstryBean")
|
|
|
|
|
|
|
|
private CrdnSttsHstryBean crdnSttsHstryBean;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name = "crdnCvlcptMapper")
|
|
|
|
@Resource(name = "crdnCvlcptMapper")
|
|
|
|
private CrdnCvlcptMapper crdnCvlcptMapper;
|
|
|
|
private CrdnCvlcptMapper crdnCvlcptMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name = "crdnSttsHstryMapper")
|
|
|
|
@Resource(name = "crdnSttsHstryMapper")
|
|
|
|
private CrdnSttsHstryMapper crdnSttsHstryMapper;
|
|
|
|
private CrdnSttsHstryMapper crdnSttsHstryMapper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name = "crdnPayerHstryMapper")
|
|
|
|
|
|
|
|
private CrdnPayerHstryMapper crdnPayerHstryMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="crdnInfoMapper")
|
|
|
|
@Resource(name="crdnInfoMapper")
|
|
|
|
private CrdnInfoMapper crdnInfoMapper;
|
|
|
|
private CrdnInfoMapper crdnInfoMapper;
|
|
|
|
|
|
|
|
|
|
|
@ -367,6 +368,16 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
nonQueryRequest.put("changeAmountYn","N");
|
|
|
|
nonQueryRequest.put("changeAmountYn","N");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//TODO : 납부자 저장
|
|
|
|
|
|
|
|
//String pyrId = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//if(!crdnInfo.string("RTPYR_ID").equals(crdn.getRtpyrId())) {
|
|
|
|
|
|
|
|
//nonQueryRequest.put("changePayerYn","Y");
|
|
|
|
|
|
|
|
//} else {
|
|
|
|
|
|
|
|
nonQueryRequest.put("changePayerYn","N");
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
//단속상태값 변경
|
|
|
|
//단속상태값 변경
|
|
|
|
nonQueryRequest.put("changeStatusYn","Y");
|
|
|
|
nonQueryRequest.put("changeStatusYn","Y");
|
|
|
|
if(acceptType.equals("accept")) {
|
|
|
|
if(acceptType.equals("accept")) {
|
|
|
@ -416,6 +427,19 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
throw new RuntimeException("단속민원답변 수정 중 단속정보변경에 실패하였습니다.");
|
|
|
|
throw new RuntimeException("단속민원답변 수정 중 단속정보변경에 실패하였습니다.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//단속 납부자 변경 이력 등록
|
|
|
|
|
|
|
|
if(((String)nonQueryRequest.get("changePayerYn")).equals("Y")) {
|
|
|
|
|
|
|
|
CrdnPayerHstry crdnPayerHstry = new CrdnPayerHstry();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
crdnPayerHstry.setCrdnId(crdn.getCrdnId());
|
|
|
|
|
|
|
|
crdnPayerHstry.setRtpyrId(crdn.getRtpyrId());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
boolean retSuccess = crdnPayerHstryMapper.insert(crdnPayerHstry);
|
|
|
|
|
|
|
|
if(!retSuccess) {
|
|
|
|
|
|
|
|
throw new RuntimeException("단속민원답변 수정 중 단속납부자변경 이력 등록에 실패하였습니다.");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//단속상태 변경 이력 등록
|
|
|
|
//단속상태 변경 이력 등록
|
|
|
|
if(((String)nonQueryRequest.get("changeStatusYn")).equals("Y")) {
|
|
|
|
if(((String)nonQueryRequest.get("changeStatusYn")).equals("Y")) {
|
|
|
|
CrdnSttsHstry crdnSttsHstry = new CrdnSttsHstry();
|
|
|
|
CrdnSttsHstry crdnSttsHstry = new CrdnSttsHstry();
|
|
|
|