回调报错修复
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user