fuyuchuan 1 день назад
Родитель
Сommit
01651aa3f7

+ 4 - 1
service-fire/service-fire-biz/src/main/java/com/usky/fire/controller/web/TaskController.java

@@ -35,6 +35,9 @@ public class TaskController {
     @Autowired
     private DemReportDataService demReportDataService;
 
+    @Autowired
+    private ReportIndexResultService reportIndexResultService;
+
     @Autowired
     private PatrolInspectionPlanService patrolInspectionPlanService;
 
@@ -71,7 +74,7 @@ public class TaskController {
     @Scheduled(cron = "0 0/3 * * * ? ") // 间隔5分钟执行
     public void task4() {
         System.out.println(Thread.currentThread().getName() + "消防报告生成定时任务执行中");
-        demReportDataService.regularReportData();
+        reportIndexResultService.reportIndexResult();
     }
 //
 //     @Scheduled(cron = "0 0 23 * * ? ")//每天23点

Разница между файлами не показана из-за своего большого размера
+ 306 - 286
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/ReportIndexResultServiceImpl.java


Некоторые файлы не были показаны из-за большого количества измененных файлов