From 312e24f10492fdf99534946df068ba5b1a8331bd Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 30 三月 2026 15:15:45 +0800
Subject: [PATCH] ERP单据对接

---
 src/main/java/com/zy/asrs/task/AutoReportingScheduler.java |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/AutoReportingScheduler.java b/src/main/java/com/zy/asrs/task/AutoReportingScheduler.java
index b122e8a..e3fa166 100644
--- a/src/main/java/com/zy/asrs/task/AutoReportingScheduler.java
+++ b/src/main/java/com/zy/asrs/task/AutoReportingScheduler.java
@@ -8,8 +8,6 @@
 import com.zy.system.entity.Config;
 import com.zy.system.service.ConfigService;
 import lombok.extern.slf4j.Slf4j;
-import org.springframework.scheduling.annotation.Async;
-import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Component;
 
 import javax.annotation.Resource;
@@ -34,8 +32,8 @@
     private ConfigService configService;
 
     //    @Scheduled(cron = "0 0/10 * * * ? ")
-    @Scheduled(cron = "0/10 * * * * ? ")
-    @Async("orderThreadPool")
+//    @Scheduled(cron = "0/10 * * * * ? ")
+//    @Async("orderThreadPool")
     void execute() {
         Config config = configService.selectConfigByCode("AutoReportU8");
         if (config != null && config.getStatus() == 1) {

--
Gitblit v1.9.1