diff --git a/src/main/java/kr/xit/fims/biz/rt/RtDTO.java b/src/main/java/kr/xit/fims/biz/rt/RtDTO.java index 9fdd1e44..ab5df810 100644 --- a/src/main/java/kr/xit/fims/biz/rt/RtDTO.java +++ b/src/main/java/kr/xit/fims/biz/rt/RtDTO.java @@ -416,15 +416,11 @@ public class RtDTO { /** * 순번 */ - private String histSn; + private String sttsHstryId; /** * 처리 상태 코드 */ private String crdnSttsCd; - /** - * 변경 가능 여부 - */ - private String changePosblYn; /** * 특기 사항 */ diff --git a/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java b/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java index 779285d0..18dd6342 100644 --- a/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java +++ b/src/main/java/kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java @@ -40,7 +40,7 @@ public interface RtCrackdownMgtMapper { //----------------------------------------------------- - // 상태변경이력 : tb_rt_process_sttus_change_hist + // 상태변경이력 : tb_crdn_stts_hstry //----------------------------------------------------- void insertRtProcessSttsChangeHist(final RtDTO.SttusChangeHist dto); diff --git a/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml index 41613aff..14d162ed 100644 --- a/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml @@ -328,11 +328,11 @@ diff --git a/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml index 252e3e8c..1ccfd1ff 100644 --- a/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml +++ b/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml @@ -425,26 +425,24 @@ /* rt-reglt-and-erpp-mysql-mapper|insertRtProcessSttsChangeHist-처리상태변경이력 등록|julim */ INSERT - INTO tb_rt_process_sttus_change_hist ( + INTO tb_crdn_stts_hstry ( crdn_id - , hist_sn + , stts_hstry_id , crdn_stts_cd - , change_posbl_yn , etc_cn , reg_dt , rgtr ) VALUES ( #{crdnId} - , (SELECT LPAD(IFNULL(MAX(CAST(tgt.hist_sn AS UNSIGNED)) + 1, 1), 2, '0') - FROM tb_rt_process_sttus_change_hist tgt + , (SELECT LPAD(IFNULL(MAX(CAST(tgt.stts_hstry_id AS UNSIGNED)) + 1, 1), 2, '0') + FROM tb_crdn_stts_hstry tgt WHERE tgt.crdn_id = #{crdnId}) , #{crdnSttsCd} - , #{changePosblYn} , #{etcCn} , DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , #{rgtr}