Commit 966dac5c authored by 黄伟铭's avatar 黄伟铭

去掉启动执行任务

parent 13bd727e
...@@ -33,7 +33,6 @@ public class AnalysisProblemDayTask { ...@@ -33,7 +33,6 @@ public class AnalysisProblemDayTask {
private AnalysisProblemGreenDayServiceImpl nalysisProblemGreenDayServiceImpl; private AnalysisProblemGreenDayServiceImpl nalysisProblemGreenDayServiceImpl;
@Scheduled(cron = "0 15 0 ? * *") @Scheduled(cron = "0 15 0 ? * *")
@PostConstruct
public void task(){ public void task(){
//执行检查路口id是否还有area_id没赋值的数据 //执行检查路口id是否还有area_id没赋值的数据
analysisProblemCrossDayServiceImpl.updateCrossAreaIdByCondition(); analysisProblemCrossDayServiceImpl.updateCrossAreaIdByCondition();
......
...@@ -27,7 +27,6 @@ public class AnalysisProblemHourTask { ...@@ -27,7 +27,6 @@ public class AnalysisProblemHourTask {
private AnalysisProblemGreenDayMapper analysisProblemGreenDayMapper; private AnalysisProblemGreenDayMapper analysisProblemGreenDayMapper;
@Scheduled(cron = "0 1/60 * * * *") @Scheduled(cron = "0 1/60 * * * *")
@PostConstruct
public void task(){ public void task(){
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment