diff --git a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportBean.java b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportBean.java index c88e3e92..dde62332 100644 --- a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportBean.java +++ b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportBean.java @@ -132,8 +132,8 @@ public class ImportBean extends AbstractBean { crdn.setCrdnRegSeCd(first ? "02" : "04"); // 첫번째면 자동등록, 아니면 복사등록 (FIM026) crdn.setCrdnInptSeCd("14"); // 국민신문고 연계 (FIM003) - crdn.setLinkTblNm("TB_ESB_INTERFACE"); - crdn.setLinkId(petition.getInterfaceSeqN()); + crdn.setCvlcptLinkTblNm("TB_ESB_INTERFACE"); + crdn.setCvlcptLinkId(petition.getInterfaceSeqN()); //crdn.setCrdnSeCd(null); // petition.getPetiPathGubunC() -> FIMS 코드로 변경 diff --git a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java index 5b00c049..01b776f8 100644 --- a/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java +++ b/src/main/java/cokr/xit/fims/crdn/service/bean/ImportServiceBean.java @@ -58,13 +58,13 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ List crdns = importBean.createCrdns(petitions); if (crdns.isEmpty()) return 0; - List intfSeqs = crdns.stream().map(Crdn::getLinkId).toList(); + List intfSeqs = crdns.stream().map(Crdn::getCvlcptLinkId).toList(); List smgFileInfoList = fileBean.getFilesOf("010", intfSeqs.toArray(new String[intfSeqs.size()])); Map> byInfoKey = smgFileInfoList.stream().collect(Collectors.groupingBy(FileInfo::getInfoKey)); for (Crdn crdn: crdns) { - List files = byInfoKey.get(crdn.getLinkId()); + List files = byInfoKey.get(crdn.getCvlcptLinkId()); files.removeIf(item -> item.getMimeType().startsWith("video")); diff --git a/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java b/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java index 3e51590f..61044267 100644 --- a/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java +++ b/src/main/java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java @@ -128,8 +128,8 @@ public class CrdnReRegBean extends AbstractBean { crdn.setCrdnRegSeCd("03"); // 단속 등록 구분 코드(FIM026) - 재 등록 crdn.setCrdnInptSeCd(crdnInfo.string("CRDN_INPT_SE_CD")); // 단속 입력 구분 코드 crdn.setCvlcptLinkYn(crdnInfo.string("CVLCPT_LINK_YN")); // 민원 연계 여부 - crdn.setLinkTblNm(crdnInfo.string("LINK_TBL_NM")); // 연계 테이블 명 - crdn.setLinkId(crdnInfo.string("LINK_ID")); // 연계 ID + crdn.setCvlcptLinkTblNm(crdnInfo.string("CVLCPT_LINK_TBL_NM")); // 민원 연계 테이블 명 + crdn.setCvlcptLinkId(crdnInfo.string("CVLCPT_LINK_ID")); // 민원 연계 ID crdn.setCrdnYmd(crdnInfo.string("CRDN_YMD")); // 단속 일자 crdn.setCrdnTm(crdnInfo.string("CRDN_TM")); // 단속 시각 crdn.setVhrno(crdnInfo.string("VHRNO")); // 차량번호