refactor : 테이블 컬럼명 변경(UPDUSR -> MDFR)

main
이범준 2 years ago
parent 3ff771f7f2
commit 32511f319d

@ -192,7 +192,7 @@ public class FimsCrackdownDTO {
/** /**
* *
*/ */
private String updusr; private String mdfr;
} }

@ -106,7 +106,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
payerDTO.setRegister(getUserInfo().getUniqId()); payerDTO.setRegister(getUserInfo().getUniqId());
rtCrackdownMgtMapper.insertRtPayer(payerDTO); rtCrackdownMgtMapper.insertRtPayer(payerDTO);
} else { } else {
payerDTO.setUpdusr(getUserInfo().getUniqId()); payerDTO.setMdfr(getUserInfo().getUniqId());
rtCrackdownMgtMapper.updateRtPayer(payerDTO); rtCrackdownMgtMapper.updateRtPayer(payerDTO);
} }
@ -146,7 +146,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode()) if(FimsConst.RegltSeCode.CITIZEN.getCode().equals(saveDTO.getRegltSeCode())
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhcleNo(infoDTO.getVhcleNo()); ctznDTO.setVhcleNo(infoDTO.getVhcleNo());
ctznDTO.setUpdusr(getUserInfo().getUniqId()); ctznDTO.setMdfr(getUserInfo().getUniqId());
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO); ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO);
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(),
FimsConst.AnswerSeCode.IMPOSE.getCode(), "01"); FimsConst.AnswerSeCode.IMPOSE.getCode(), "01");
@ -175,7 +175,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
payerDTO.setRegister(getUserInfo().getUniqId()); payerDTO.setRegister(getUserInfo().getUniqId());
rtCrackdownMgtMapper.insertRtPayer(payerDTO); rtCrackdownMgtMapper.insertRtPayer(payerDTO);
} else { } else {
payerDTO.setUpdusr(getUserInfo().getUniqId()); payerDTO.setMdfr(getUserInfo().getUniqId());
rtCrackdownMgtMapper.updateRtPayer(payerDTO); rtCrackdownMgtMapper.updateRtPayer(payerDTO);
} }
@ -215,7 +215,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
&& (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) { && (Checks.isNotEmpty(saveDTO.getInterfaceSeqN()) && Checks.isNotEmpty(saveDTO.getCtznSttemntDetailSn()))) {
ctznDTO.setVhcleNo(infoDTO.getVhcleNo()); ctznDTO.setVhcleNo(infoDTO.getVhcleNo());
ctznDTO.setUpdusr(getUserInfo().getUniqId()); ctznDTO.setMdfr(getUserInfo().getUniqId());
ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO); ecCtznSttemntMapper.updateVhcleNoOfEcCtznSttemntDetail(ctznDTO);
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode(),
@ -271,7 +271,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
.interfaceSeqN(saveDTO.getInterfaceSeqN()) .interfaceSeqN(saveDTO.getInterfaceSeqN())
.ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn()) .ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn())
.vhcleNo(infoDTO.getVhcleNo()) .vhcleNo(infoDTO.getVhcleNo())
.updusr(getUserInfo().getUniqId()) .mdfr(getUserInfo().getUniqId())
.build() .build()
); );
updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode(), updateCtznAndAnswer(saveDTO, infoDTO, FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode(),
@ -366,7 +366,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
CtznStmtDTO.Ans.builder() CtznStmtDTO.Ans.builder()
.interfaceSeqN(interfaceSeqN) .interfaceSeqN(interfaceSeqN)
.ctznSttemntStatusCode(FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode()) .ctznSttemntStatusCode(FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode())
.updusr(getUserInfo().getUniqId()) .mdfr(getUserInfo().getUniqId())
.build() .build()
); );
@ -483,7 +483,7 @@ public class FimsCrackdownMgtServiceBean extends AbstractServiceBean implements
private CtznStmtDTO.Request getCtznRequestDTO(final FimsCrackdownDTO.SaveRequest saveDTO){ private CtznStmtDTO.Request getCtznRequestDTO(final FimsCrackdownDTO.SaveRequest saveDTO){
return CtznStmtDTO.Request return CtznStmtDTO.Request
.builder() .builder()
.updusr(getUserInfo().getUniqId()) .mdfr(getUserInfo().getUniqId())
.interfaceSeqN(saveDTO.getInterfaceSeqN()) .interfaceSeqN(saveDTO.getInterfaceSeqN())
.ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn()) .ctznSttemntDetailSn(saveDTO.getCtznSttemntDetailSn())
.build(); .build();

@ -215,7 +215,7 @@ public class CctvCrackdownDTO {
private String registDt; private String registDt;
private String register; private String register;
private String updtDt; private String updtDt;
private String updusr; private String mdfr;
} }
@ -239,7 +239,7 @@ public class CctvCrackdownDTO {
private String fileJobId; private String fileJobId;
private String register; private String register;
private String updusr; private String mdfr;
private String extrlRegltCntcId; private String extrlRegltCntcId;
private String regltProcessSttusCode; private String regltProcessSttusCode;

@ -98,7 +98,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
private String ctznSttemntProcessSttus; private String ctznSttemntProcessSttus;
private String register; private String register;
private String updtDt; private String updtDt;
private String updusr; private String mdfr;
private List<CtznStmtDTO.Dtl> stmtDtlDTOs = new ArrayList<>(); private List<CtznStmtDTO.Dtl> stmtDtlDTOs = new ArrayList<>();
@ -205,7 +205,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
private String registDt; private String registDt;
private String register; private String register;
private String updtDt; private String updtDt;
private String updusr; private String mdfr;
private String ctznSttemntProcessSttus; private String ctznSttemntProcessSttus;
private Set<Integer> indexs = new HashSet<>(); private Set<Integer> indexs = new HashSet<>();
@ -293,7 +293,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
* : * :
*/ */
private String ctznSttemntStatusCode = FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode(); private String ctznSttemntStatusCode = FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode();
private String updusr; private String mdfr;
/** /**
* sysCode * sysCode
@ -349,7 +349,7 @@ public class CtznStmtDTO { //extends ExtlEsbDataType {
// 단속ID // 단속ID
private String regltId; private String regltId;
private String erppId; private String erppId;
private String updusr; private String mdfr;
/** /**
* *

@ -251,7 +251,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
@Override @Override
public void modifyExtrlRegltCntc(final CctvCrackdownDTO.ExtrlRegltCntc dto) { public void modifyExtrlRegltCntc(final CctvCrackdownDTO.ExtrlRegltCntc dto) {
dto.setUpdusr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
mapper.updateEcExtrlRegltCntc(dto); mapper.updateEcExtrlRegltCntc(dto);
} }
@ -266,7 +266,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
dto.setRegister(getUserInfo().getUniqId()); dto.setRegister(getUserInfo().getUniqId());
mapper.insertRtRegltFromEcExtrRegltCntc(dto); mapper.insertRtRegltFromEcExtrRegltCntc(dto);
dto.setUpdusr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
dto.setExtrlRegltCntcProcessSttus(FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode()); dto.setExtrlRegltCntcProcessSttus(FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode());
mapper.updateStatusAndRegltIdOfEcExtrRegltCntc(dto); mapper.updateStatusAndRegltIdOfEcExtrRegltCntc(dto);
} }
@ -287,7 +287,7 @@ public class EcCctvCrackdownServiceBean extends AbstractServiceBean implements E
mapper.insertRtErppFromEcExtrRegltCntc(dto); mapper.insertRtErppFromEcExtrRegltCntc(dto);
// 상태 변경 // 상태 변경
dto.setUpdusr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
dto.setExtrlRegltCntcProcessSttus(FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode()); dto.setExtrlRegltCntcProcessSttus(FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode());
mapper.updateStatusAndRegltIdOfEcExtrRegltCntc(dto); mapper.updateStatusAndRegltIdOfEcExtrRegltCntc(dto);
} }

@ -75,7 +75,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
@Override @Override
@Transactional @Transactional
public void modifyEcCtznSttemntDetail(final CtznStmtDTO.Dtl dto) { public void modifyEcCtznSttemntDetail(final CtznStmtDTO.Dtl dto) {
dto.setUpdusr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
mapper.updateVhcleNoOfEcCtznSttemntDetail(dto); mapper.updateVhcleNoOfEcCtznSttemntDetail(dto);
} }
@ -108,7 +108,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
mapper.insertRtRegltFromCtznStmt(dto); mapper.insertRtRegltFromCtznStmt(dto);
// 시민신고 상세 상태 변경 // 시민신고 상세 상태 변경
dto.setUpdusr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
dto.setCtznSttemntDetailProcessSttus(FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode()); dto.setCtznSttemntDetailProcessSttus(FimsConst.CtznStmtDtlStsCode.ACCEPTANCE.getCode());
mapper.updateStatusAndRegltIdOfEcCtznSttemntDetail(dto); mapper.updateStatusAndRegltIdOfEcCtznSttemntDetail(dto);
@ -133,7 +133,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
mapper.insertRtErppFromCtznStmt(dto); mapper.insertRtErppFromCtznStmt(dto);
// 시민신고 상세 상태 변경 // 시민신고 상세 상태 변경
dto.setUpdusr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
dto.setCtznSttemntDetailProcessSttus(FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode()); dto.setCtznSttemntDetailProcessSttus(FimsConst.CtznStmtDtlStsCode.NON_ACCEPTABLE.getCode());
mapper.updateStatusAndRegltIdOfEcCtznSttemntDetail(dto); mapper.updateStatusAndRegltIdOfEcCtznSttemntDetail(dto);
@ -189,7 +189,7 @@ public class EcCtznSttemntServiceBean extends AbstractServiceBean implements EcC
mapper.saveEcCtznSttemntAnswer(dto); mapper.saveEcCtznSttemntAnswer(dto);
// 시민신고 상태 - 답변완료 update // 시민신고 상태 - 답변완료 update
dto.setUpdusr(getUserInfo().getUniqId()); dto.setMdfr(getUserInfo().getUniqId());
dto.setCtznSttemntStatusCode(FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode()); dto.setCtznSttemntStatusCode(FimsConst.CtznStmtStsCode.ANS_COMPLETE.getCode());
mapper.updateStmtProcessStsOfEcCtznSttemnt(dto); mapper.updateStmtProcessStsOfEcCtznSttemnt(dto);

@ -28,7 +28,7 @@ public class SendRqstMngVO extends BaseVO {
private String mobile_page_cn; //모바일_내용_상세 private String mobile_page_cn; //모바일_내용_상세
private String register; //작성자 private String register; //작성자
private String updt_dt; //수정_일자 private String updt_dt; //수정_일자
private String updusr; //수정자 private String mdfr; //수정자
@ -131,11 +131,11 @@ public class SendRqstMngVO extends BaseVO {
public void setUpdt_dt(String updt_dt) { public void setUpdt_dt(String updt_dt) {
this.updt_dt = updt_dt; this.updt_dt = updt_dt;
} }
public String getUpdusr() { public String getMdfr() {
return updusr; return mdfr;
} }
public void setUpdusr(String updusr) { public void setMdfr(String mdfr) {
this.updusr = updusr; this.mdfr = mdfr;
} }
public String getSndng_process_sttus() { public String getSndng_process_sttus() {
return sndng_process_sttus; return sndng_process_sttus;

@ -389,7 +389,7 @@ public class RtDTO {
/** /**
* *
*/ */
private String updusr; private String mdfr;

@ -47,7 +47,7 @@ public class CmmAnsTmplDTO {
/** /**
* *
*/ */
private String updusr; private String mdfr;
//ETC //ETC
/** /**
* *

@ -55,7 +55,7 @@ public class CmmAnsTmplServiceBean extends AbstractServiceBean implements CmmAns
@Override @Override
@Transactional @Transactional
public void modifyCmmAnsTmpl(final CmmAnsTmplDTO.Dtl dto) { public void modifyCmmAnsTmpl(final CmmAnsTmplDTO.Dtl dto) {
dto.setUpdusr(getUserUniqId()); dto.setMdfr(getUserUniqId());
if ("FIM028".equals(dto.getAnswerSeCode())){ if ("FIM028".equals(dto.getAnswerSeCode())){
mapper.updateCmmAnsTmpl(dto); mapper.updateCmmAnsTmpl(dto);
} }

@ -62,7 +62,7 @@ public class XitBasicBbsMngSearchVO extends XitBaseSearchVO{
private String frstRegisterNm = ""; private String frstRegisterNm = "";
/** 최종 수정자명 */ /** 최종 수정자명 */
private String lastUpdusrNm = ""; private String lastMdfrNm = "";
/** 게시판 속성 구분 (자료목록 조회(findList) 분기처리용) */ /** 게시판 속성 구분 (자료목록 조회(findList) 분기처리용) */
private String attrbFlag; private String attrbFlag;
@ -340,22 +340,22 @@ public class XitBasicBbsMngSearchVO extends XitBaseSearchVO{
} }
/** /**
* lastUpdusrNm attribute . * lastMdfrNm attribute .
* *
* @return the lastUpdusrNm * @return the lastMdfrNm
*/ */
public String getLastUpdusrNm() { public String getLastMdfrNm() {
return lastUpdusrNm; return lastMdfrNm;
} }
/** /**
* lastUpdusrNm attribute . * lastMdfrNm attribute .
* *
* @param lastUpdusrNm * @param lastMdfrNm
* the lastUpdusrNm to set * the lastMdfrNm to set
*/ */
public void setLastUpdusrNm(String lastUpdusrNm) { public void setLastMdfrNm(String lastMdfrNm) {
this.lastUpdusrNm = lastUpdusrNm; this.lastMdfrNm = lastMdfrNm;
} }
public String getAttrbFlag() { public String getAttrbFlag() {

@ -53,7 +53,7 @@ public class XitBbsCreateMngSearchVO extends XitBaseSearchVO{
private String tmplatNm = ""; private String tmplatNm = "";
/** 최종 수정자명 */ /** 최종 수정자명 */
private String lastUpdusrNm = ""; private String lastMdfrNm = "";
/** 권한지정 여부 */ /** 권한지정 여부 */
private String authFlag = ""; private String authFlag = "";
@ -278,22 +278,22 @@ public class XitBbsCreateMngSearchVO extends XitBaseSearchVO{
} }
/** /**
* lastUpdusrNm attribute . * lastMdfrNm attribute .
* *
* @return the lastUpdusrNm * @return the lastMdfrNm
*/ */
public String getLastUpdusrNm() { public String getLastMdfrNm() {
return lastUpdusrNm; return lastMdfrNm;
} }
/** /**
* lastUpdusrNm attribute . * lastMdfrNm attribute .
* *
* @param lastUpdusrNm * @param lastMdfrNm
* the lastUpdusrNm to set * the lastMdfrNm to set
*/ */
public void setLastUpdusrNm(String lastUpdusrNm) { public void setLastMdfrNm(String lastMdfrNm) {
this.lastUpdusrNm = lastUpdusrNm; this.lastMdfrNm = lastMdfrNm;
} }
/** /**

@ -24,7 +24,7 @@ public class XitBbsTmplateMngSearchVO extends XitBaseSearchVO{
private String frstRegisterNm = ""; private String frstRegisterNm = "";
/** 최종 수정자명 */ /** 최종 수정자명 */
private String lastUpdusrNm = ""; private String lastMdfrNm = "";
/** 템플릿 구분 코드 */ /** 템플릿 구분 코드 */
private String tmplatSeCode = ""; private String tmplatSeCode = "";
@ -76,22 +76,22 @@ public class XitBbsTmplateMngSearchVO extends XitBaseSearchVO{
} }
/** /**
* lastUpdusrNm attribute . * lastMdfrNm attribute .
* *
* @return the lastUpdusrNm * @return the lastMdfrNm
*/ */
public String getLastUpdusrNm() { public String getLastMdfrNm() {
return lastUpdusrNm; return lastMdfrNm;
} }
/** /**
* lastUpdusrNm attribute . * lastMdfrNm attribute .
* *
* @param lastUpdusrNm * @param lastMdfrNm
* the lastUpdusrNm to set * the lastMdfrNm to set
*/ */
public void setLastUpdusrNm(String lastUpdusrNm) { public void setLastMdfrNm(String lastMdfrNm) {
this.lastUpdusrNm = lastUpdusrNm; this.lastMdfrNm = lastMdfrNm;
} }
/** /**

@ -40,7 +40,7 @@ public class XitBbsTmplateMngVO {
private String mdfr; private String mdfr;
/** 최종수정자 아이디 명 */ /** 최종수정자 아이디 명 */
private String lastUpdusrNm; private String lastMdfrNm;
/** 최종수정시점 */ /** 최종수정시점 */
private String mdfcnDt; private String mdfcnDt;

@ -58,7 +58,7 @@ public class XitBbsUseMngVO {
private String frstRegisterNm; private String frstRegisterNm;
/** 최종 수정자명 */ /** 최종 수정자명 */
private String lastUpdusrNm; private String lastMdfrNm;
/** 등록구분 코드명 */ /** 등록구분 코드명 */
private String registSeCodeNm; private String registSeCodeNm;

@ -172,7 +172,7 @@
, tecsd.violt_dtls_nm , tecsd.violt_dtls_nm
, tecs.register , tecs.register
, tecs.updt_dt , tecs.updt_dt
, tecs.updusr , tecs.mdfr
FROM tb_ec_ctzn_sttemnt_detail tecsd FROM tb_ec_ctzn_sttemnt_detail tecsd
LEFT JOIN tb_ec_ctzn_sttemnt tecs LEFT JOIN tb_ec_ctzn_sttemnt tecs
ON tecsd.interface_seq_n = tecs.interface_seq_n ON tecsd.interface_seq_n = tecs.interface_seq_n
@ -247,7 +247,7 @@
UPDATE tb_ec_ctzn_sttemnt_detail UPDATE tb_ec_ctzn_sttemnt_detail
SET ctzn_sttemnt_detail_process_sttus = #{ctznSttemntDetailProcessSttus} SET ctzn_sttemnt_detail_process_sttus = #{ctznSttemntDetailProcessSttus}
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE interface_seq_n = #{interfaceSeqN} WHERE interface_seq_n = #{interfaceSeqN}
AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn} AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn}
</update> </update>
@ -257,7 +257,7 @@
UPDATE tb_ec_ctzn_sttemnt UPDATE tb_ec_ctzn_sttemnt
SET ctzn_sttemnt_process_sttus = #{ctznSttemntStatusCode} SET ctzn_sttemnt_process_sttus = #{ctznSttemntStatusCode}
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE interface_seq_n = #{interfaceSeqN} WHERE interface_seq_n = #{interfaceSeqN}
</update> </update>
@ -398,7 +398,7 @@
, tens.regist_dt , tens.regist_dt
, tens.register , tens.register
, tens.updt_dt , tens.updt_dt
, tens.updusr , tens.mdfr
, tensd.elctrn_ntic_sndng_detail_id , tensd.elctrn_ntic_sndng_detail_id
, tensd.main_code , tensd.main_code
, tensd.ihidnum , tensd.ihidnum
@ -430,7 +430,7 @@
, tecsc.regist_dt , tecsc.regist_dt
, tecsc.register , tecsc.register
, tecsc.updt_dt , tecsc.updt_dt
, tecsc.updusr , tecsc.mdfr
FROM tb_ec_ctzn_sttemnt_cmplt tecsc FROM tb_ec_ctzn_sttemnt_cmplt tecsc
WHERE gubun = #{gubun} WHERE gubun = #{gubun}
<if test='gubun eq "0"'> <if test='gubun eq "0"'>

@ -28,7 +28,7 @@
, ctzn_sttemnt_process_sttus , ctzn_sttemnt_process_sttus
, register , register
, updt_dt , updt_dt
, updusr , mdfr
FROM tb_ec_ctzn_sttemnt FROM tb_ec_ctzn_sttemnt
</sql> </sql>
@ -113,7 +113,7 @@
, tecsd.regist_dt , tecsd.regist_dt
, tecsd.register , tecsd.register
, tecsd.updt_dt , tecsd.updt_dt
, tecsd.updusr , tecsd.mdfr
, tecs.ctzn_sttemnt_process_sttus , tecs.ctzn_sttemnt_process_sttus
FROM tb_ec_ctzn_sttemnt_detail tecsd FROM tb_ec_ctzn_sttemnt_detail tecsd
JOIN tb_ec_ctzn_sttemnt tecs JOIN tb_ec_ctzn_sttemnt tecs
@ -189,7 +189,7 @@
UPDATE tb_ec_ctzn_sttemnt_detail UPDATE tb_ec_ctzn_sttemnt_detail
SET vhcle_no = IF(vhcle_no = #{vhcleNo}, vhcle_no, #{vhcleNo}) SET vhcle_no = IF(vhcle_no = #{vhcleNo}, vhcle_no, #{vhcleNo})
, updt_dt = IF(vhcle_no = #{vhcleNo}, updt_dt, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')) , updt_dt = IF(vhcle_no = #{vhcleNo}, updt_dt, DATE_FORMAT(NOW(), '%Y%m%d%H%i%s'))
, updusr = IF(vhcle_no = #{vhcleNo}, updusr, #{updusr}) , mdfr = IF(vhcle_no = #{vhcleNo}, mdfr, #{mdfr})
WHERE interface_seq_n = #{interfaceSeqN} WHERE interface_seq_n = #{interfaceSeqN}
AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn} AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn}
</update> </update>
@ -321,7 +321,7 @@
SET reglt_id = #{regltId} SET reglt_id = #{regltId}
, ctzn_sttemnt_detail_process_sttus = #{ctznSttemntDetailProcessSttus} , ctzn_sttemnt_detail_process_sttus = #{ctznSttemntDetailProcessSttus}
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE interface_seq_n = #{interfaceSeqN} WHERE interface_seq_n = #{interfaceSeqN}
AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn} AND ctzn_sttemnt_detail_sn = #{ctznSttemntDetailSn}
</update> </update>
@ -337,7 +337,7 @@
#{ctznSttemntStatusCode}) #{ctznSttemntStatusCode})
) )
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE interface_seq_n = #{interfaceSeqN} WHERE interface_seq_n = #{interfaceSeqN}
</update> </update>
@ -506,7 +506,7 @@
<result column="ctzn_sttemnt_process_sttus" property="ctznSttemntProcessSttus"/> <result column="ctzn_sttemnt_process_sttus" property="ctznSttemntProcessSttus"/>
<result column="register" property="register"/> <result column="register" property="register"/>
<result column="updt_dt" property="updtDt"/> <result column="updt_dt" property="updtDt"/>
<result column="updusr" property="updusr"/> <result column="mdfr" property="mdfr"/>
<collection column="{interfaceSeqN=interface_seq_n}" property="stmtDtlDTOs" select="selectEcCtznSttemntDetails" javaType="List" /> <collection column="{interfaceSeqN=interface_seq_n}" property="stmtDtlDTOs" select="selectEcCtznSttemntDetails" javaType="List" />
</resultMap> </resultMap>

@ -38,7 +38,7 @@
, regist_dt , regist_dt
, register , register
, updt_dt , updt_dt
, updusr , mdfr
FROM tb_ec_extrl_reglt_cntc FROM tb_ec_extrl_reglt_cntc
</sql> </sql>
@ -131,7 +131,7 @@
UPDATE tb_ec_extrl_reglt_cntc UPDATE tb_ec_extrl_reglt_cntc
SET vhcle_no = #{vhcleNo} SET vhcle_no = #{vhcleNo}
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE extrl_reglt_cntc_id = #{extrlRegltCntcId} WHERE extrl_reglt_cntc_id = #{extrlRegltCntcId}
</update> </update>
@ -250,7 +250,7 @@
SET reglt_id = #{regltId} SET reglt_id = #{regltId}
, extrl_reglt_cntc_process_sttus = #{extrlRegltCntcProcessSttus} , extrl_reglt_cntc_process_sttus = #{extrlRegltCntcProcessSttus}
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE extrl_reglt_cntc_id = #{extrlRegltCntcId} WHERE extrl_reglt_cntc_id = #{extrlRegltCntcId}
</update> </update>

@ -244,7 +244,7 @@
, regist_dt , regist_dt
, register , register
, updt_dt , updt_dt
, updusr , mdfr
FROM tb_rt_payer FROM tb_rt_payer
WHERE payer_id = #{payerId} WHERE payer_id = #{payerId}
</select> </select>
@ -331,7 +331,7 @@
, adres = IF(adres = #{adres}, adres, #{adres}) , adres = IF(adres = #{adres}, adres, #{adres})
, detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres}) , detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres})
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE payer_id = #{payerId} WHERE payer_id = #{payerId}
</update> </update>
@ -411,7 +411,7 @@
, adres = IF(adres = #{adres}, adres, #{adres}) , adres = IF(adres = #{adres}, adres, #{adres})
, detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres}) , detail_adres = IF(detail_adres = #{adres}, detail_adres, #{detailAdres})
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
</insert> </insert>

@ -17,7 +17,7 @@
, tcat.register , tcat.register
, (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.esntl_id = tcat.register) AS registerNm , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.esntl_id = tcat.register) AS registerNm
, tcat.updt_dt , tcat.updt_dt
, tcat.updusr , tcat.mdfr
, tcatd.answer_se_code , tcatd.answer_se_code
, cdc.grp_nm AS answerSeCodeNm , cdc.grp_nm AS answerSeCodeNm
, tcatd.resn_code , tcatd.resn_code
@ -133,7 +133,7 @@
, prface = IF(prface = #{prface}, prface, #{prface}) , prface = IF(prface = #{prface}, prface, #{prface})
, tlface = IF(tlface = #{tlface}, tlface, #{tlface}) , tlface = IF(tlface = #{tlface}, tlface, #{tlface})
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE tmplat_id = #{tmplatId} WHERE tmplat_id = #{tmplatId}
</update> </update>
@ -147,7 +147,7 @@
answer_cn = IF(answer_cn = #{answerCn}, answer_cn, #{answerCn}) answer_cn = IF(answer_cn = #{answerCn}, answer_cn, #{answerCn})
</if> </if>
, updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, updusr = #{updusr} , mdfr = #{mdfr}
WHERE tmplat_id = #{tmplatId} WHERE tmplat_id = #{tmplatId}
AND answer_se_code = #{answerSeCode} AND answer_se_code = #{answerSeCode}
AND resn_code = #{resnCode} AND resn_code = #{resnCode}

@ -24,7 +24,7 @@
,A.MDFCN_DT AS "mdfcnDt" ,A.MDFCN_DT AS "mdfcnDt"
,B.CODE_VAL AS "tmplatSeCodeNm" ,B.CODE_VAL AS "tmplatSeCodeNm"
,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.ESNTL_ID=A.RGTR) AS "frstRegisterNm" ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.ESNTL_ID=A.RGTR) AS "frstRegisterNm"
,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.ESNTL_ID=A.MDFR) AS "lastUpdusrNm" ,(SELECT SA.USER_NM FROM XIT_VW_USER_MASTR SA WHERE SA.ESNTL_ID=A.MDFR) AS "lastMdfrNm"
</sql> </sql>
<sql id="findList_FROM"> <sql id="findList_FROM">
FROM XIT_TMPLAT_INFO A FROM XIT_TMPLAT_INFO A

@ -18,7 +18,7 @@
, xti.mdfcn_dt , xti.mdfcn_dt
, cdc.code_val AS tmplatSeCodeNm , cdc.code_val AS tmplatSeCodeNm
, (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.esntl_id = xti.rgtr) AS frstRegisterNm , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.esntl_id = xti.rgtr) AS frstRegisterNm
, (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.esntl_id = xti.mdfr) AS lastUpdusrNm , (SELECT SA.user_nm FROM xit_vw_user_mastr SA WHERE SA.esntl_id = xti.mdfr) AS lastMdfrNm
FROM xit_tmplat_info xti FROM xit_tmplat_info xti
LEFT OUTER JOIN xit_cmmn_detail_code cdc LEFT OUTER JOIN xit_cmmn_detail_code cdc
ON xti.tmplat_se_code = cdc.code ON xti.tmplat_se_code = cdc.code

Loading…
Cancel
Save