|
|
|
@@ -540,7 +540,7 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
logger.error("券有效期只可增加"); |
|
|
|
return new ResultData(ErrorCode.COUPON_VALID_DATE_ERR.getCode(), "券有效期只可增加"); |
|
|
|
} |
|
|
|
if(wxCoupon.getValidDays().equals(oldCoupon.getValidDays())) { |
|
|
|
if(!wxCoupon.getValidDays().equals(oldCoupon.getValidDays())) { |
|
|
|
bChanged = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|