From 77334e3e736eecd581af7c175e7de68ac0a29d24 Mon Sep 17 00:00:00 2001 From: gong <1157756119@qq.com> Date: Sat, 31 Jan 2026 14:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=B8=8D=E7=94=A8=E5=8E=9F?= =?UTF-8?q?=E7=94=9F=E8=BF=9B=E4=BB=B6=20=E5=88=A0=E9=99=A4=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/czg/task/EntryManagerTask.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cash-api/order-server/src/main/java/com/czg/task/EntryManagerTask.java b/cash-api/order-server/src/main/java/com/czg/task/EntryManagerTask.java index 796f86f7f..f2f5411d9 100644 --- a/cash-api/order-server/src/main/java/com/czg/task/EntryManagerTask.java +++ b/cash-api/order-server/src/main/java/com/czg/task/EntryManagerTask.java @@ -14,7 +14,6 @@ import com.czg.service.order.service.ShopDirectMerchantService; import com.mybatisflex.core.query.QueryWrapper; import jakarta.annotation.Resource; import lombok.extern.slf4j.Slf4j; -import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.util.List; @@ -32,13 +31,15 @@ public class EntryManagerTask { @Resource private ShopMerchantService shopMerchantService; + + // TODO 暂时不用原生进件,使用第三方进件 //每10分钟查一次 - @Scheduled(cron = "0 0/10 * * * ? ") +// @Scheduled(cron = "0 0/10 * * * ? ") public void run() { - log.info("进件查询,定时任务执行"); - long start = System.currentTimeMillis(); - entryManager(null); - log.info("进件查询,定时任务执行完毕,耗时:{}ms", System.currentTimeMillis() - start); +// log.info("进件查询,定时任务执行"); +// long start = System.currentTimeMillis(); +// entryManager(null); +// log.info("进件查询,定时任务执行完毕,耗时:{}ms", System.currentTimeMillis() - start); } /**