Commit 2658898138d2472182a9bba5d93e4123fff13a99

Authored by YunaiV
1 parent 76a7b5e4

【缺陷修复】MALL:修复优惠劵过期时,update 失败的情况

yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/coupon/CouponServiceImpl.java
@@ -215,7 +215,7 @@ public class CouponServiceImpl implements CouponService { @@ -215,7 +215,7 @@ public class CouponServiceImpl implements CouponService {
215 int count = 0; 215 int count = 0;
216 for (CouponDO coupon : list) { 216 for (CouponDO coupon : list) {
217 try { 217 try {
218 - boolean success = getSelf().expireCoupon(coupon); 218 + boolean success = expireCoupon(coupon);
219 if (success) { 219 if (success) {
220 count++; 220 count++;
221 } 221 }