|
@@ -0,0 +1,21 @@
|
|
|
+package com.ym.mec.task.jobs;
|
|
|
+
|
|
|
+import com.ym.mec.task.TaskRemoteService;
|
|
|
+import com.ym.mec.task.core.BaseTask;
|
|
|
+import com.ym.mec.task.core.TaskException;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Author Joburgess
|
|
|
+ * @Date 2020/2/29
|
|
|
+ */
|
|
|
+public class StudyReportTask extends BaseTask {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private TaskRemoteService taskRemoteService;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void execute() throws TaskException {
|
|
|
+ taskRemoteService.pushStudyReport();
|
|
|
+ }
|
|
|
+}
|