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

This commit is contained in:
YunaiV 2024-07-20 22:54:08 +08:00
parent 76a7b5e401
commit 2658898138

View File

@ -215,7 +215,7 @@ public class CouponServiceImpl implements CouponService {
int count = 0;
for (CouponDO coupon : list) {
try {
boolean success = getSelf().expireCoupon(coupon);
boolean success = expireCoupon(coupon);
if (success) {
count++;
}