提现 / 定时任务
This commit is contained in:
@@ -14,6 +14,17 @@
|
||||
where user_id=#{userId}
|
||||
</update>
|
||||
|
||||
<update id="updateMayAmount">
|
||||
update user_money set
|
||||
<if test="type==1">
|
||||
amount=amount+#{amount}
|
||||
</if>
|
||||
<if test="type==2">
|
||||
amount=amount-#{amount}
|
||||
</if>
|
||||
where user_id=#{userId}
|
||||
</update>
|
||||
|
||||
<update id="updateSysMoney">
|
||||
update user_money set
|
||||
<if test="type==1">
|
||||
|
||||
Reference in New Issue
Block a user