From 17d9680846fdec953c086695ec0040e510998f4c Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 03 一月 2025 16:36:08 +0800
Subject: [PATCH] 压缩空气运行指标定时任务

---
 shasteel-biz/src/main/java/com/iailab/module/shasteel/job/init/JobCommandLineRunner.java |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/init/JobCommandLineRunner.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/init/JobCommandLineRunner.java
index e9f61e8..71d5694 100644
--- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/init/JobCommandLineRunner.java
+++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/init/JobCommandLineRunner.java
@@ -6,20 +6,22 @@
 import com.iailab.module.shasteel.job.utils.ScheduleUtils;
 import org.quartz.CronTrigger;
 import org.quartz.Scheduler;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.CommandLineRunner;
 import org.springframework.stereotype.Component;
 
-import javax.annotation.Resource;
 import java.util.List;
 
 /**
  * 初始化定时任务数据
+ *
+ * @author Mark sunlightcs@gmail.com
  */
 @Component
 public class JobCommandLineRunner implements CommandLineRunner {
-    @Resource
+    @Autowired
     private Scheduler scheduler;
-    @Resource
+    @Autowired
     private ScheduleJobDao scheduleJobDao;
 
     @Override

--
Gitblit v1.9.3