민원자료 답변 처리 후 단속처리상태코드 설정하는 부분 수정

main
이범준 1 year ago
parent db1e071c07
commit 722d57336c

@ -450,7 +450,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
crdnSttsHstry.setCrdnId(targetDataList.get(i).string("CRDN_ID")); crdnSttsHstry.setCrdnId(targetDataList.get(i).string("CRDN_ID"));
crdnSttsHstry.setBfrSttsCd(targetDataList.get(i).string("CRDN_STTS_CD")); crdnSttsHstry.setBfrSttsCd(targetDataList.get(i).string("CRDN_STTS_CD"));
crdnSttsHstry.setBfrSttsChgDt(targetDataList.get(i).string("CRDN_STTS_CHG_DT")); crdnSttsHstry.setBfrSttsChgDt(targetDataList.get(i).string("CRDN_STTS_CHG_DT"));
crdnSttsHstry.setCrdnSttsCd("22"); crdnSttsHstry.setCrdnSttsCd("21");
crdnSttsHstry.setTaskDtlId(targetDataList.get(i).string("CRDN_ID")); crdnSttsHstry.setTaskDtlId(targetDataList.get(i).string("CRDN_ID"));
crdnSttsHstry.setEtcCn("민원답변등록"); crdnSttsHstry.setEtcCn("민원답변등록");
boolean retSuccess = crdnSttsHstryBean.createHstryUpdateCrdnSttsCd(crdnSttsHstry); boolean retSuccess = crdnSttsHstryBean.createHstryUpdateCrdnSttsCd(crdnSttsHstry);

@ -3,7 +3,6 @@ package cokr.xit.fims.cvlc.service.bean;
import java.io.File; import java.io.File;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -210,14 +209,9 @@ public class CrdnCvlcptSubBean extends AbstractComponent {
//단속상태값 변경 //단속상태값 변경
nonQueryRequest.put("changeStatusYn","Y"); nonQueryRequest.put("changeStatusYn","Y");
if(acceptType.equals("accept")) { if(acceptType.equals("accept")) {
if(!crdnInfo.string("CRDN_REG_SE_CD").equals("02")
|| Arrays.asList(new String[]{"04","05","06"}).contains(crdnInfo.string("CVLCPT_TRSM_CD"))) {
crdn.setCrdnSttsCd("22");
} else {
crdn.setCrdnSttsCd("21"); crdn.setCrdnSttsCd("21");
}
} else if(acceptType.equals("someAccept")){ } else if(acceptType.equals("someAccept")){
crdn.setCrdnSttsCd("83"); crdn.setCrdnSttsCd("83");
} else if(acceptType.equals("nonAccept")) { } else if(acceptType.equals("nonAccept")) {

Loading…
Cancel
Save