From 0eb8c29f2400d0c82458b7720f353416dca71f0d Mon Sep 17 00:00:00 2001 From: "xitpc\\xituser" Date: Thu, 17 Oct 2024 14:09:47 +0900 Subject: [PATCH] =?UTF-8?q?TB=5FCRDN=20=EC=BB=AC=EB=9F=BC=EB=AA=85=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.=20=20=20LINK=5FTBL=5FNM=20->=20CVLCPT=5FLIN?= =?UTF-8?q?K=5FTBL=5FNM=20=20=20LINK=5FID=20->=20CVLCPT=5FLINK=5FID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/fims/crdn/service/bean/ImportBean.java | 4 ++-- .../cokr/xit/fims/crdn/service/bean/ImportServiceBean.java | 4 ++-- .../java/cokr/xit/fims/excl/service/bean/CrdnReRegBean.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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")); // 차량번호