|
@@ -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();
|