From b50a43845b2b05198c93b573a2e1bdc0c80a6b8c Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期五, 03 一月 2025 11:29:47 +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