From e8fb12ce859091638b7c7487d61ef7ea4193d384 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Wed, 23 Aug 2023 13:42:51 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AF=BC=EC=9B=90=20=EC=B2=98=EB=A6=AC=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 --- .../xit/fims/cvlc/service/bean/CrdnCvlcptServiceBean.java | 2 +- .../resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 b99ea0d9..3e8056ae 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 @@ -583,7 +583,7 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv throw new RuntimeException("민원 전송 상태 변경 중 오류가 발생하였습니다."); } - + //단속상태 변경(차적조회완료 -> 부과대상) if(targetDataList.get(i).string("CRDN_STTS_CD").equals("21")) { CrdnSttsHstry crdnSttsHstry = new CrdnSttsHstry(); crdnSttsHstry.setCrdnId(targetDataList.get(i).string("CRDN_ID")); diff --git a/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml b/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml index 3356e5bd..2cca6b5d 100644 --- a/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cvlc/crdnCvlcpt-mapper.xml @@ -615,6 +615,7 @@ SELECT A.ANS_WORDS_ID WHERE A.SGG_CD = #{sggCd} /* 시군구 코드 */ AND A.TASK_SE_CD = #{taskSeCd} /* 업무 구분 코드 */ AND A.ANS_RSN_CD = #{ansRsnCd} /* 답변 사유 코드 */ + AND A.DSTRBNC_YN = 'Y' /* 방해 여부 */ @@ -623,6 +624,7 @@ SELECT A.ANS_WORDS_ID AND A.DSTRBNC_YN = 'N' /* 방해 여부 */ + AND A.USE_YN = 'Y' /* 사용 여부 */ @@ -680,6 +682,9 @@ UPDATE TB_CRDN_CVLCPT , CVLCPT_PRCS_RSLT_CN = #{cvlcptPrcsRsltCn} /* 민원 처리 결과 내용 */ + , CVLCPT_PRCS_CMPTN_DT = + , CVLCPT_PRCS_PIC_NM = (SELECT USER_NM FROM TB_USER WHERE USER_ID=#{modifiedBy}) + , CVLCPT_PRCS_PIC = #{modifiedBy} , MDFCN_DT = /* 수정일시 */ , MDFR = #{modifiedBy} /* 수정자 */ WHERE CVLCPT_LINK_ID = #{cvlcptLinkId}