dev-discount
袁野 2 years ago
parent 5121d06e06
commit 6a43102a79
  1. 2
      hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java

@ -431,7 +431,7 @@ public class HighOrderSchedule {
} }
} }
} }
@Scheduled(cron="0 0/1 * * * ?") //每10分钟执行一次 @Scheduled(cron="0 0/1 * * * ?") //每1分钟执行一次
public void integralRebateOrder() { public void integralRebateOrder() {
List<HighOrder> order = highOrderService.integralRebateOrder(); List<HighOrder> order = highOrderService.integralRebateOrder();
for (HighOrder highOrder : order) { for (HighOrder highOrder : order) {

Loading…
Cancel
Save