|
|
|
@@ -141,7 +141,7 @@ public class TtCouponGoodsController extends DouyinBaseController { |
|
|
|
if(coupon == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|
} |
|
|
|
if(EnumCouponStatus.COUPON_STATUS_THROW_IN.getCode().equals(coupon.getStatus())){ |
|
|
|
if(EnumCouponStatus.COUPON_STATUS_TAKE_OFFF.getCode().equals(coupon.getStatus())){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"该券已被作废"); |
|
|
|
} |
|
|
|
if(coupon.getSalePrice() == null || coupon.getSalePrice().intValue() == 0){ |
|
|
|
|