From e8a72ebe25e054107b76bde858ae970e24c94cf0 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期五, 18 十月 2024 16:23:47 +0800
Subject: [PATCH] command
---
pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/config/AppStartupRunner.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/config/AppStartupRunner.java b/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/config/AppStartupRunner.java
index 29807fa..b5a9db9 100644
--- a/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/config/AppStartupRunner.java
+++ b/pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/config/AppStartupRunner.java
@@ -1,10 +1,9 @@
package com.dy.pmsOther.config;
import com.dy.common.schedulerTask.SchedulerTaskSupport;
-import com.dy.pmsGlobal.daoSta.StaDeviceProductionLogPastMapper;
+import com.dy.pmsOther.task.DeviceCountTask;
import com.dy.pmsOther.task.WorkloadTask;
import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
@@ -16,5 +15,8 @@
//姣忓ぉ浜哄憳宸ヤ綔閲忕粺璁�
SchedulerTaskSupport.addDailyJob("workloadTask", "station", WorkloadTask.class,
null, 0, 5);
+ //姣忓ぉ瀹屾垚璁惧鏁伴噺缁熻
+ SchedulerTaskSupport.addDailyJob("deviceCountTask", "station", DeviceCountTask.class,
+ null,23,50);
}
}
\ No newline at end of file
--
Gitblit v1.8.0