From 722d57336cc1128456654c8f90e4c322acdc7396 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 1 Nov 2023 17:15:34 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AF=BC=EC=9B=90=EC=9E=90=EB=A3=8C=20?= =?UTF-8?q?=EB=8B=B5=EB=B3=80=20=EC=B2=98=EB=A6=AC=20=ED=9B=84=20=EB=8B=A8?= =?UTF-8?q?=EC=86=8D=EC=B2=98=EB=A6=AC=EC=83=81=ED=83=9C=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EC=84=A4=EC=A0=95=ED=95=98=EB=8A=94=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fims/cvlc/service/bean/CrdnCvlcptServiceBean.java | 2 +- .../xit/fims/cvlc/service/bean/CrdnCvlcptSubBean.java | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) 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")) {