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); //민원 목록 번호