Ver código fonte

移植新版健康管理后台项目

shilin 1 ano atrás
pai
commit
941290283a

+ 3 - 1
realtime/datatraining-server/src/main/java/com/gyee/datatraining/DatatrainingMain.java

@@ -1,5 +1,7 @@
 package com.gyee.datatraining;
 
+import com.gyee.datatraining.task.SaticScheduleTask;
+import com.gyee.datatraining.util.SpringUtils;
 import org.mybatis.spring.annotation.MapperScan;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -13,7 +15,7 @@ public class DatatrainingMain {
     public static void main(String[] args) throws Exception {
         SpringApplication.run(DatatrainingMain.class, args);
 
-//        SaticScheduleTask saticScheduleTask= SpringUtils.getBean("saticScheduleTask");
+        SaticScheduleTask saticScheduleTask= SpringUtils.getBean("saticScheduleTask");
 //        saticScheduleTask.configureTasks1();
 //        saticScheduleTask.configureTasks2();
 //        saticScheduleTask.configureTasks3();