回调报错修复

This commit is contained in:
张松
2025-09-28 17:37:06 +08:00
parent b7d28c29d9
commit 629cb43741

View File

@@ -5,9 +5,10 @@
<mapper namespace="com.czg.service.account.mapper.ShopUserMapper">
<update id="incrAccount">
update tb_shop_user
set amount=amount + #{money},
update_time=#{time}
set amount = COALESCE(amount, 0) + #{money},
update_time = #{time}
where id = #{id}
</update>
<update id="decrAccount">
update tb_shop_user