|
|
|
@@ -288,12 +288,11 @@ public class CouponSendSchedule { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
boolean couponLimit = pushLimitService.checkCoupon(cu.getTenantId(), cu.getId(), cs.getCouponId()); |
|
|
|
if (!couponLimit) { |
|
|
|
logger.info("生日发券: {}", ErrorCode.PUSH_LIMIT_UP_TO_COUPONLIMIT.getMessage()); |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
//boolean couponLimit = pushLimitService.checkCoupon(cu.getTenantId(), cu.getId(), cs.getCouponId()); |
|
|
|
//if (!couponLimit) { |
|
|
|
// logger.info("生日发券: {}", ErrorCode.PUSH_LIMIT_UP_TO_COUPONLIMIT.getMessage()); |
|
|
|
// continue; |
|
|
|
//} |
|
|
|
|
|
|
|
Calendar now = Calendar.getInstance() ; |
|
|
|
now.set(Calendar.HOUR, now.get(Calendar.HOUR) - 2) ; |
|
|
|
|