Browse Source

//

release_toaliyun_real
xhxu 4 years ago
parent
commit
6146b44b2c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java View File

@@ -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);
}
}


Loading…
Cancel
Save