add sign
parent
406e672a30
commit
6b31d5c554
|
@ -8,7 +8,7 @@
|
||||||
(#{userId},now(),#{signAmount})
|
(#{userId},now(),#{signAmount})
|
||||||
</insert>
|
</insert>
|
||||||
<update id="updateSingAmountByUserId">
|
<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>
|
</update>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue