Merge branches 'develop' and 'develop' of gitlab.main99.com:india/india_market_java into develop
* 'develop' of gitlab.main99.com:india/india_market_java: fix:关闭A股定时任务 * 'develop' of gitlab.main99.com:india/india_market_java: fix:关闭A股定时任务
This commit is contained in:
@@ -37,7 +37,7 @@ import cn.stock.market.web.config.Config;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Component
|
//@Component
|
||||||
public class StockTask {
|
public class StockTask {
|
||||||
@Autowired RealtimeRepository realtimeRepository;
|
@Autowired RealtimeRepository realtimeRepository;
|
||||||
@Autowired StockRepository stockRepository;
|
@Autowired StockRepository stockRepository;
|
||||||
@@ -202,7 +202,7 @@ public class StockTask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*同步股票列表*/
|
/*同步股票列表*/
|
||||||
@Scheduled(cron = "0 5 6 * * ?")
|
// @Scheduled(cron = "0 5 6 * * ?")
|
||||||
public void syncBjsStockList() {
|
public void syncBjsStockList() {
|
||||||
MdcUtil.setTraceIdIfAbsent();
|
MdcUtil.setTraceIdIfAbsent();
|
||||||
boolean flag = true;
|
boolean flag = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user