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}