master
冯凯 2023-11-05 10:17:47 +08:00
parent 406e672a30
commit 6b31d5c554
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
(#{userId},now(),#{signAmount})
</insert>
<update id="updateSingAmountByUserId">
update tb_sign set sing_amount=0 where user_id=#{userId} and sign_time=#{signTime}
update tb_sign set sign_amount=#{signAmount} where user_id=#{userId} and sign_time=#{signTime}
</update>