add sign
parent
406e672a30
commit
6b31d5c554
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue