From f8e762a6475fa72961a1ea1a2a36853bfc3a14e4 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 14 Sep 2023 14:06:55 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AF=BC=EC=9B=90=ED=85=8C=EC=9D=B4=EB=B8=94?= =?UTF-8?q?=20=EB=AF=BC=EC=9B=90=EC=8B=A0=EC=B2=AD=EA=B5=AC=EB=B6=84?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=9E=85=EB=A0=A5=EC=8B=9C=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=EB=B3=80=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/fims/crdn/service/bean/ImportBean.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 e2a6ccb3..40150cb6 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 @@ -224,7 +224,15 @@ public class ImportBean extends AbstractComponent { String rcptYmd = parseDate.apply(petition.getAncRegD()); if (rcptYmd != null && rcptYmd.length() >= 8) cvlcpt.setCvlcptRcptYmd(rcptYmd.substring(0, 8)); - cvlcpt.setCvlcptAplySeCd(petition.getPetiGubunC()); + + String cvlcptAplySeCd = ""; + String petiAncCodeV = petition.getPetiAncCodeV(); + if(petiAncCodeV.equals("1741000")) cvlcptAplySeCd = "120"; //안전신문고 + else if(petiAncCodeV.equals("1140100")) cvlcptAplySeCd = "183"; //국민신문고 + else if(petiAncCodeV.equals("1320000")) cvlcptAplySeCd = "130"; //경찰청 + else cvlcptAplySeCd = "181"; //기타 + cvlcpt.setCvlcptAplySeCd(cvlcptAplySeCd); + cvlcpt.setCvlcptAplyNo(petition.getPetiNoC()); cvlcpt.setCvlcptRcptNo(petition.getCivilNoC()); cvlcpt.setCvlcptListNo(null); //민원 목록 번호