|
@@ -47,9 +47,9 @@ public class TaskController implements ApplicationRunner {
|
|
// @Scheduled(cron = "0 0/5 * * * ? ") // 间隔5分钟执行
|
|
// @Scheduled(cron = "0 0/5 * * * ? ") // 间隔5分钟执行
|
|
@Override
|
|
@Override
|
|
public void run(ApplicationArguments args) throws Exception {
|
|
public void run(ApplicationArguments args) throws Exception {
|
|
- System.out.println(Thread.currentThread().getName() + " 消防报告生成定时任务执行中");
|
|
|
|
- String companyId = "";
|
|
|
|
- reportIndexResultService.reportIndexResult(companyId);
|
|
|
|
|
|
+ // System.out.println(Thread.currentThread().getName() + " 消防报告生成定时任务执行中");
|
|
|
|
+ // String companyId = "";
|
|
|
|
+ // reportIndexResultService.reportIndexResult(companyId);
|
|
// System.out.println(Thread.currentThread().getName() + "大屏定时任务执行中");
|
|
// System.out.println(Thread.currentThread().getName() + "大屏定时任务执行中");
|
|
// bscEnterpriseScreenService.dataSynchro();
|
|
// bscEnterpriseScreenService.dataSynchro();
|
|
}
|
|
}
|