From dcc9b7294a7f47c00445d2b8dec0097b6b3b0e5e Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期一, 23 十二月 2024 15:45:11 +0800 Subject: [PATCH] Merge branch 'phyzasrs-erp' into phyzasrs-erp-4 --- src/main/java/com/zy/asrs/task/OrderLogScheduler.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/OrderLogScheduler.java b/src/main/java/com/zy/asrs/task/OrderLogScheduler.java index 547de77..6311642 100644 --- a/src/main/java/com/zy/asrs/task/OrderLogScheduler.java +++ b/src/main/java/com/zy/asrs/task/OrderLogScheduler.java @@ -22,7 +22,8 @@ // @Value("${erp.enable}") // private boolean isERP; // - @Scheduled(cron = "0/10 * * * * ? ") + //@Scheduled(cron = "0/10 * * * * ? ") + @Scheduled(fixedDelay = 10000) private void execute(){ List<Order> orders = orderService.selectToBeHistoryOrder(); if (orders.isEmpty()) { -- Gitblit v1.9.1