代理金额入账bug fix

This commit is contained in:
GYJ
2024-12-14 14:08:33 +08:00
parent c6692c87cd
commit 0fc6bf0d6d
5 changed files with 21 additions and 2 deletions

View File

@@ -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>