|
|
@@ -64,8 +64,7 @@ public class CouponOrderExpiringSchedule { |
|
|
return wxMallMapper.findList(wxMall); |
|
|
return wxMallMapper.findList(wxMall); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@Scheduled(cron = "0 0 5 * * ?") // 每天凌晨00:05 |
|
|
|
|
|
@Scheduled(cron = "0 */5 * * * ?") |
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0 5 * * ?") // 每天凌晨00:05 |
|
|
// @Scheduled(cron = "*/10 * * * * ?") // 测试10秒中一次 |
|
|
// @Scheduled(cron = "*/10 * * * * ?") // 测试10秒中一次 |
|
|
public void couponOrderExpiringSchedule() { |
|
|
public void couponOrderExpiringSchedule() { |
|
|
|
|
|
|
|
|
@@ -88,8 +87,7 @@ public class CouponOrderExpiringSchedule { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//@Scheduled(cron = "0 0 5 * * ?") // 每天凌晨00:05 |
|
|
|
|
|
@Scheduled(cron = "0 */5 * * * ?") |
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0 5 * * ?") // 每天凌晨00:05 |
|
|
//@Scheduled(cron = "0 */10 * * * ?") // 测试10秒中一次 |
|
|
//@Scheduled(cron = "0 */10 * * * ?") // 测试10秒中一次 |
|
|
public void couponOrderRefundSchedule() { |
|
|
public void couponOrderRefundSchedule() { |
|
|
CouponOrderExpiringSchedule proxy = (CouponOrderExpiringSchedule) AopContext.currentProxy(); |
|
|
CouponOrderExpiringSchedule proxy = (CouponOrderExpiringSchedule) AopContext.currentProxy(); |
|
|
|