|
|
|
@@ -138,7 +138,7 @@ public class PushLimitServiceImpl implements PushLimitService { |
|
|
|
} |
|
|
|
// 4. check 每人多少天内不会重复收到一张券 |
|
|
|
params.put("couponId", couponId); |
|
|
|
params.put("dayNum", pushLimit.getCouponDay()); |
|
|
|
params.put("dayNum", pushLimit.getCouponDay()-1); |
|
|
|
int countForUserCoupon = wxCouponActionLogMapper.getCountByUserAndCoupon(params); |
|
|
|
if (countForUserCoupon >= 1) { |
|
|
|
String errMsg = "每人" + pushLimit.getCouponDay() + "天领一张券已到疲劳度上限"; |
|
|
|
|