fix : 수정 중

main
이범준 2 years ago
parent 93d60a6f11
commit 3ff771f7f2

@ -43,11 +43,11 @@ public class CmmAnsTmplDTO {
/** /**
* *
*/ */
private String changeDt; private String updtDt;
/** /**
* *
*/ */
private String changer; private String updusr;
//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.setChanger(getUserUniqId()); dto.setUpdusr(getUserUniqId());
if ("FIM028".equals(dto.getAnswerSeCode())){ if ("FIM028".equals(dto.getAnswerSeCode())){
mapper.updateCmmAnsTmpl(dto); mapper.updateCmmAnsTmpl(dto);
} }

@ -16,8 +16,8 @@
, tcat.regist_dt , tcat.regist_dt
, 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.change_dt , tcat.updt_dt
, tcat.changer , tcat.updusr
, tcatd.answer_se_code , tcatd.answer_se_code
, cdc.grp_nm AS answerSeCodeNm , cdc.grp_nm AS answerSeCodeNm
, tcatd.resn_code , tcatd.resn_code
@ -132,8 +132,8 @@
tmplat_nm = IF(tmplat_nm = #{tmplatNm}, tmplat_nm, #{tmplatNm}) tmplat_nm = IF(tmplat_nm = #{tmplatNm}, tmplat_nm, #{tmplatNm})
, prface = IF(prface = #{prface}, prface, #{prface}) , prface = IF(prface = #{prface}, prface, #{prface})
, tlface = IF(tlface = #{tlface}, tlface, #{tlface}) , tlface = IF(tlface = #{tlface}, tlface, #{tlface})
, change_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, changer = #{changer} , updusr = #{updusr}
WHERE tmplat_id = #{tmplatId} WHERE tmplat_id = #{tmplatId}
</update> </update>
@ -146,8 +146,8 @@
<if test="!@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(delYn)"> <if test="!@kr.xit.fims.framework.core.utils.XitCmmnUtil@notEmpty(delYn)">
answer_cn = IF(answer_cn = #{answerCn}, answer_cn, #{answerCn}) answer_cn = IF(answer_cn = #{answerCn}, answer_cn, #{answerCn})
</if> </if>
, change_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s') , updt_dt = DATE_FORMAT(NOW(), '%Y%m%d%H%i%s')
, changer = #{changer} , updusr = #{updusr}
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}

Loading…
Cancel
Save