mac 2 лет назад
Родитель
Сommit
d7a1d3bdda
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      kxs-user/kxs-user-biz/src/main/resources/mapper/KxsMainMapper.xml

+ 1 - 1
kxs-user/kxs-user-biz/src/main/resources/mapper/KxsMainMapper.xml

@@ -4,7 +4,7 @@
 
 
     <insert id="addAmountLog">
     <insert id="addAmountLog">
         insert into LeaderReserveRecord (UserId, ChangeType, Remark, AfterAmt, BeforeAmt, ChangeAmt, sort, TradeDate, TradeMonth, CreateDate)
         insert into LeaderReserveRecord (UserId, ChangeType, Remark, AfterAmt, BeforeAmt, ChangeAmt, sort, TradeDate, TradeMonth, CreateDate)
-        values (#{userId}, 1, #{remark}, #{afterAmount},#{beforeAmount},#{amount}, #{variationType}, DATE_FORMAT(NOW(), '%Y%m%d'), DATE_FORMAT(NOW(), '%Y%m'), NOW())
+        values (#{userId}, 2, #{remark}, #{afterWithdrawalAmount},#{beforeWithdrawalAmount},#{amount}, #{variationType}, DATE_FORMAT(NOW(), '%Y%m%d'), DATE_FORMAT(NOW(), '%Y%m'), NOW())
     </insert>
     </insert>
     <insert id="addAmountAccountLog">
     <insert id="addAmountAccountLog">
         insert into LeaderAccountRecord (UserId, ChangeType, SeoDescription, AfterBalanceAmount, BeforeBalanceAmount, ChangeAmount, CreateDate)
         insert into LeaderAccountRecord (UserId, ChangeType, SeoDescription, AfterBalanceAmount, BeforeBalanceAmount, ChangeAmount, CreateDate)