fix: 优惠券upUseNumber报错修复

This commit is contained in:
张松
2024-11-15 11:25:59 +08:00
parent a9c5a95f4e
commit 641a85d478

View File

@@ -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