|
|
@ -21,6 +21,7 @@ import cokr.xit.fims.cmmn.CmmnQuery;
|
|
|
|
import cokr.xit.fims.cmmn.CmmnUtil;
|
|
|
|
import cokr.xit.fims.cmmn.CmmnUtil;
|
|
|
|
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.cmmn.service.bean.StngBean;
|
|
|
|
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.CrdnInfoMapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
|
|
|
@ -76,6 +77,9 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
@Resource(name="codeBean")
|
|
|
|
@Resource(name="codeBean")
|
|
|
|
private CodeBean codeBean;
|
|
|
|
private CodeBean codeBean;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="stngBean")
|
|
|
|
|
|
|
|
private StngBean stngBean;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="mediaBean")
|
|
|
|
@Resource(name="mediaBean")
|
|
|
|
private MediaBean mediaBean;
|
|
|
|
private MediaBean mediaBean;
|
|
|
|
|
|
|
|
|
|
|
@ -367,6 +371,9 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
List<CommonCode> fimsVltnCodes = codeBean.getCodes("FIM004");
|
|
|
|
List<CommonCode> fimsVltnCodes = codeBean.getCodes("FIM004");
|
|
|
|
List<CommonCode> nxrpVltnCodes = codeBean.getCodes("NTR055");
|
|
|
|
List<CommonCode> nxrpVltnCodes = codeBean.getCodes("NTR055");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DataObject deptStng = stngBean.getStng("dept");
|
|
|
|
|
|
|
|
String gujesi = deptStng.string("NXRP_RGN_SE_CD");
|
|
|
|
|
|
|
|
|
|
|
|
for(String crdnID : crdnIDs) {
|
|
|
|
for(String crdnID : crdnIDs) {
|
|
|
|
DataObject crdnInfo = crdnInfoMapper.selectCrdnInfo(crdnID);
|
|
|
|
DataObject crdnInfo = crdnInfoMapper.selectCrdnInfo(crdnID);
|
|
|
|
|
|
|
|
|
|
|
@ -444,6 +451,10 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
|
|
|
|
linkFileMaker = new OnlyImageMaker(nxrpLinkSeCd, instDigit7);
|
|
|
|
linkFileMaker = new OnlyImageMaker(nxrpLinkSeCd, instDigit7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!gujesi.equals("")) {
|
|
|
|
|
|
|
|
linkFileMaker.setGujesiStng(gujesi);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
String workPath = "files/temp/"+crdnInfo.string("SGG_CD")+"/"+crdnInfo.string("CRDN_ID");
|
|
|
|
String workPath = "files/temp/"+crdnInfo.string("SGG_CD")+"/"+crdnInfo.string("CRDN_ID");
|
|
|
|
File workFolder = new File(workPath);
|
|
|
|
File workFolder = new File(workPath);
|
|
|
|
if(workFolder.exists()) {
|
|
|
|
if(workFolder.exists()) {
|
|
|
|