방해여부 수정

main
이범준 1 year ago
parent 250dafc2e1
commit 7e598c22c6

@ -209,7 +209,7 @@ public class ImportBean extends AbstractComponent {
CrdnCvlcpt cvlcpt = new CrdnCvlcpt(); CrdnCvlcpt cvlcpt = new CrdnCvlcpt();
cvlcpt.setCvlcptLinkId(petition.getInterfaceSeqN()); cvlcpt.setCvlcptLinkId(petition.getInterfaceSeqN());
cvlcpt.setDstrbncYn("03".equals(violation.getCode()) ? "Y" : "N"); cvlcpt.setDstrbncYn("N");
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));

@ -147,7 +147,7 @@ public class CrdnCvlcptBean extends AbstractComponent {
crdnQuery.setAnsSeCd("3"); crdnQuery.setAnsSeCd("3");
crdnQuery.setAnsRsnCd("3"+dataInfo.string("VLTN_CD")); crdnQuery.setAnsRsnCd("3"+dataInfo.string("VLTN_CD"));
if(dataInfo.string("DSTRBNC_YN").equals("Y")) { if(crdnQuery.getAnsRsnCd().equals("301") && dataInfo.string("DSTRBNC_YN").equals("Y")) {
crdnQuery.setDstrbncYn("Y"); crdnQuery.setDstrbncYn("Y");
} }

@ -389,7 +389,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
crdnQuery.setSggCd(globalStngMapper.selectSggCdForCurrentUser()); crdnQuery.setSggCd(globalStngMapper.selectSggCdForCurrentUser());
crdnQuery.setTaskSeCd(crdn.getTaskSeCd()); crdnQuery.setTaskSeCd(crdn.getTaskSeCd());
crdnQuery.setAnsRsnCd(ansRsnCd); crdnQuery.setAnsRsnCd(ansRsnCd);
if(ifEmpty(crdnCvlcpt.getDstrbncYn(), () -> "").equals("Y")) { if(crdn.getVltnCd().equals("01") && ifEmpty(crdnCvlcpt.getDstrbncYn(), () -> "").equals("Y")) {
crdnQuery.setDstrbncYn("Y"); crdnQuery.setDstrbncYn("Y");
} }

Loading…
Cancel
Save