代理金额入账bug fix
This commit is contained in:
@@ -36,6 +36,16 @@
|
||||
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>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user