记得上下班打卡 | git大法好,push需谨慎

Commit 612f4292 authored by 张国柄's avatar 张国柄

~opt;

parent bb91baed
...@@ -348,7 +348,7 @@ public class CandyCouponDueTaskController { ...@@ -348,7 +348,7 @@ public class CandyCouponDueTaskController {
int plCommonCoupon = platformCandyCommonCouponService.rmvForCommonCouponProcessing(currentDateTime, displayDaysIntVal1); int plCommonCoupon = platformCandyCommonCouponService.rmvForCommonCouponProcessing(currentDateTime, displayDaysIntVal1);
int plUserCouponDue = platformCandyUserCouponService.rmvForUserCouponProcessing(currentDateTime, displayDaysIntVal1, false); int plUserCouponDue = platformCandyUserCouponService.rmvForUserCouponProcessing(currentDateTime, displayDaysIntVal1, false);
int plUserCouponUse = 0; int plUserCouponUse = 0;
if (displayDaysIntVal2 > 365) { if (displayDaysIntVal2 > 31536000) {// 31536000秒对应365天
plUserCouponUse = platformCandyUserCouponService.rmvForUserCouponProcessing(currentDateTime, displayDaysIntVal2, true); plUserCouponUse = platformCandyUserCouponService.rmvForUserCouponProcessing(currentDateTime, displayDaysIntVal2, true);
} }
return ResponseDto.success(String.format("结果[%s,%d,%d,过期公有券:%d,过期私有券:%d,已用券:%d", currentDateTime, displayDaysIntVal1, displayDaysIntVal2, plCommonCoupon, plUserCouponDue, plUserCouponUse)); return ResponseDto.success(String.format("结果[%s,%d,%d,过期公有券:%d,过期私有券:%d,已用券:%d", currentDateTime, displayDaysIntVal1, displayDaysIntVal2, plCommonCoupon, plUserCouponDue, plUserCouponUse));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment