admin_chrg 등록 수정

This commit is contained in:
2023-04-04 13:17:48 +09:00
parent 7fa6f0bf78
commit 19872e3661
6 changed files with 117 additions and 11 deletions

View File

@@ -1297,7 +1297,7 @@
) VALUES(
#{chrgSeq}
, #{userSeq}
, 'E'
, #{chrgDiv}
, #{strtYm}
, #{endYm}
, #{chrgAmt}
@@ -1309,6 +1309,20 @@
)
</insert>
<update id="updateChrgAmt" parameterType= "kr.co.uplus.ez.api.custMgt.dto.ChrgAmtDto">
UPDATE
hubez_admin.EZ_USER_LMT eul
set
eul.MRT_LMT_AMT = eul.MRT_LMT_AMT + #{extcChrgAmt}+ #{cfwdChrgAmt}
,eul.EXTC_CHRG_AMT = eul.EXTC_CHRG_AMT + #{extcChrgAmt}
,eul.EXTC_CHRG_BLNC = eul.EXTC_CHRG_BLNC + #{extcChrgAmt}
,eul.CFWD_CHRG_AMT = eul.CFWD_CHRG_AMT+ #{cfwdChrgAmt}
,eul.CFWD_CHRG_BLNC = eul.CFWD_CHRG_BLNC+ #{cfwdChrgAmt}
WHERE eul.USER_SEQ = #{userSeq}
AND eul.LMT_YM =#{lmtYm}
</update>
<update id="updateChrg" parameterType="kr.co.uplus.ez.api.custMgt.dto.ChrgInfo">
UPDATE
hubez_admin.EZ_CHARGE_MNG ecm