From e4a4a728f6a845e9c0a4a225a96f63293e56f274 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 2 Jun 2023 09:35:25 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=B2=98=EB=A6=AC=EC=83=81=ED=83=9C?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=EC=9D=B4=EB=A0=A5=20=ED=85=8C=EC=9D=B4?= =?UTF-8?q?=EB=B8=94=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/kr/xit/fims/biz/rt/RtDTO.java | 6 +----- .../kr/xit/fims/biz/rt/dao/RtCrackdownMgtMapper.java | 2 +- .../biz/cmm/cmm-fims-crackdown-mysql-mapper.xml | 4 ++-- .../mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml | 12 +++++------- 4 files changed, 9 insertions(+), 15 deletions(-) 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}