mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
commit
b79f6a8859
@ -111,7 +111,7 @@ public class CouponServiceImpl implements CouponService {
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user