fix: 优惠券upUseNumber报错修复
This commit is contained in:
@@ -150,13 +150,14 @@
|
|||||||
<update id="upUseNumber">
|
<update id="upUseNumber">
|
||||||
update tb_shop_coupon
|
update tb_shop_coupon
|
||||||
set
|
set
|
||||||
use_number = use_number+1,
|
use_number = use_number + 1
|
||||||
where `id` in
|
where `id` in
|
||||||
<foreach collection="ids" item="id" separator=",">
|
<foreach collection="ids" item="id" open="(" close=")" separator=",">
|
||||||
(#{id})
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|
||||||
<!--通过主键修改数据-->
|
<!--通过主键修改数据-->
|
||||||
<update id="update">
|
<update id="update">
|
||||||
update tb_shop_coupon
|
update tb_shop_coupon
|
||||||
|
|||||||
Reference in New Issue
Block a user