|
@@ -3,6 +3,10 @@
|
|
|
<mapper namespace="com.kxs.user.biz.mapper.old.KxsMainServerMapper">
|
|
<mapper namespace="com.kxs.user.biz.mapper.old.KxsMainServerMapper">
|
|
|
|
|
|
|
|
<insert id="addAmountLog">
|
|
<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())
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <insert id="addAmountAccountLog">
|
|
|
insert into LeaderAccountRecord (UserId, ChangeType, SeoDescription, AfterBalanceAmount, BeforeBalanceAmount, ChangeAmount, CreateDate)
|
|
insert into LeaderAccountRecord (UserId, ChangeType, SeoDescription, AfterBalanceAmount, BeforeBalanceAmount, ChangeAmount, CreateDate)
|
|
|
values (#{userId}, #{changeType}, #{remark}, #{afterWithdrawalAmount},#{beforeWithdrawalAmount},#{amount}, NOW())
|
|
values (#{userId}, #{changeType}, #{remark}, #{afterWithdrawalAmount},#{beforeWithdrawalAmount},#{amount}, NOW())
|
|
|
</insert>
|
|
</insert>
|