From 354399856f006de32d0dce69278b023c4ac113c8 Mon Sep 17 00:00:00 2001 From: xiaoliuhu Date: Mon, 4 Dec 2023 18:14:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=B3=E9=97=ADA=E8=82=A1=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 --- .../java/cn/stock/market/infrastructure/job/StockTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/stock/market/infrastructure/job/StockTask.java b/src/main/java/cn/stock/market/infrastructure/job/StockTask.java index 2f7e947..4cbac87 100644 --- a/src/main/java/cn/stock/market/infrastructure/job/StockTask.java +++ b/src/main/java/cn/stock/market/infrastructure/job/StockTask.java @@ -37,7 +37,7 @@ import cn.stock.market.web.config.Config; import lombok.extern.slf4j.Slf4j; @Slf4j -@Component +//@Component public class StockTask { @Autowired RealtimeRepository realtimeRepository; @Autowired StockRepository stockRepository; @@ -202,7 +202,7 @@ public class StockTask { } /*同步股票列表*/ - @Scheduled(cron = "0 5 6 * * ?") +// @Scheduled(cron = "0 5 6 * * ?") public void syncBjsStockList() { MdcUtil.setTraceIdIfAbsent(); boolean flag = true;