jjh 1 year ago
commit 54ba442af2

@ -224,7 +224,15 @@ public class ImportBean extends AbstractComponent {
String rcptYmd = parseDate.apply(petition.getAncRegD()); String rcptYmd = parseDate.apply(petition.getAncRegD());
if (rcptYmd != null && rcptYmd.length() >= 8) if (rcptYmd != null && rcptYmd.length() >= 8)
cvlcpt.setCvlcptRcptYmd(rcptYmd.substring(0, 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.setCvlcptAplyNo(petition.getPetiNoC());
cvlcpt.setCvlcptRcptNo(petition.getCivilNoC()); cvlcpt.setCvlcptRcptNo(petition.getCivilNoC());
cvlcpt.setCvlcptListNo(null); //민원 목록 번호 cvlcpt.setCvlcptListNo(null); //민원 목록 번호

Loading…
Cancel
Save