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 215 int count = 0;
216 216 for (CouponDO coupon : list) {
217 217 try {
218   - boolean success = getSelf().expireCoupon(coupon);
  218 + boolean success = expireCoupon(coupon);
219 219 if (success) {
220 220 count++;
221 221 }
... ...