mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2025-11-03 06:59:59 +08:00
@ -111,7 +111,7 @@ public class CouponServiceImpl implements CouponService {
|
|||||||
throw exception(COUPON_NOT_EXISTS);
|
throw exception(COUPON_NOT_EXISTS);
|
||||||
}
|
}
|
||||||
// 校验状态
|
// 校验状态
|
||||||
if (ObjectUtil.notEqual(coupon.getTemplateId(), CouponStatusEnum.USED.getStatus())) {
|
if (ObjectUtil.notEqual(coupon.getStatus(), CouponStatusEnum.USED.getStatus())) {
|
||||||
throw exception(COUPON_STATUS_NOT_USED);
|
throw exception(COUPON_STATUS_NOT_USED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user