diff --git a/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptServiceBean.java b/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptServiceBean.java index c12c0970..49b35e82 100644 --- a/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptServiceBean.java +++ b/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptServiceBean.java @@ -450,7 +450,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv crdnSttsHstry.setCrdnId(targetDataList.get(i).string("CRDN_ID")); crdnSttsHstry.setBfrSttsCd(targetDataList.get(i).string("CRDN_STTS_CD")); 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.setEtcCn("민원답변등록"); boolean retSuccess = crdnSttsHstryBean.createHstryUpdateCrdnSttsCd(crdnSttsHstry); diff --git a/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptSubBean.java b/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptSubBean.java index 03b0b72b..2201ddf4 100644 --- a/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptSubBean.java +++ b/src/main/java/cokr/xit/fims/cvlc/service/bean/CrdnCvlcptSubBean.java @@ -3,7 +3,6 @@ package cokr.xit.fims.cvlc.service.bean; import java.io.File; import java.text.SimpleDateFormat; import java.util.ArrayList; -import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Map; @@ -210,14 +209,9 @@ public class CrdnCvlcptSubBean extends AbstractComponent { //단속상태값 변경 nonQueryRequest.put("changeStatusYn","Y"); - 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"); - } + if(acceptType.equals("accept")) { + crdn.setCrdnSttsCd("21"); } else if(acceptType.equals("someAccept")){ crdn.setCrdnSttsCd("83"); } else if(acceptType.equals("nonAccept")) {