|
|
|
@@ -354,7 +354,7 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
if(EnumCouponStatus.COUPON_STATUS_TAKE_OFFF.getCode().equals(wc.getStatus())){ |
|
|
|
return new ResultData(ErrorCode.COUPON_IS_TAKE_OFF_GIFT); |
|
|
|
} |
|
|
|
if(wc.getValidEndDate().before(record.getValidEndDate())){ |
|
|
|
if(EnumCouponValidType.BETWEEN_TWO_TIME.getCode().equals(wc.getValidType()) && wc.getValidEndDate().before(record.getValidEndDate())){ |
|
|
|
return new ResultData(ErrorCode.COUPON_VALID_DATE_ERR_GIFT); |
|
|
|
} |
|
|
|
} |
|
|
|
|