mac hace 2 años
padre
commit
d7a1d3bdda

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

@@ -4,7 +4,7 @@
 
     <insert id="addAmountLog">
         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 id="addAmountAccountLog">
         insert into LeaderAccountRecord (UserId, ChangeType, SeoDescription, AfterBalanceAmount, BeforeBalanceAmount, ChangeAmount, CreateDate)