Commit ff37fb18 authored by 黄伟铭's avatar 黄伟铭

每日2点执行一次路口高峰数据统计

parent 58641b49
...@@ -28,4 +28,9 @@ public class AnalysisGreenCongestionPeriodWeekTask { ...@@ -28,4 +28,9 @@ public class AnalysisGreenCongestionPeriodWeekTask {
//analysisGreenCongestionPeriodService.selectCountByCrossData(); //analysisGreenCongestionPeriodService.selectCountByCrossData();
} }
@Scheduled(cron = "0 0 2 ? * ? ")
public void taskDay() throws ParseException {
analysisGreenCongestionPeriodService.selectCountByCrossDataOneDay();
}
} }
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