移除 代理 关于钱的操作
This commit is contained in:
@@ -25,27 +25,5 @@
|
||||
where user_id=#{userId}
|
||||
</update>
|
||||
|
||||
<update id="updateSysMoney">
|
||||
update user_money set
|
||||
<if test="type==1">
|
||||
money=money+#{money}
|
||||
</if>
|
||||
<if test="type==2">
|
||||
money=money-#{money}
|
||||
</if>
|
||||
where sys_user_id=#{sysUserId}
|
||||
</update>
|
||||
|
||||
<update id="updateSysAmount">
|
||||
update user_money set
|
||||
<if test="type==1">
|
||||
amount=amount+#{amount}
|
||||
</if>
|
||||
<if test="type==2">
|
||||
amount=amount-#{amount}
|
||||
</if>
|
||||
where sys_user_id=#{sysUserId}
|
||||
</update>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user