From ccf75464534965c47866449b2b4e457a6dadede9 Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期一, 14 十月 2024 14:13:00 +0800
Subject: [PATCH] 定时任务权限修改

---
 shasteel-biz/src/main/java/com/iailab/module/shasteel/job/service/ScheduleJobService.java |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/service/ScheduleJobService.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/service/ScheduleJobService.java
new file mode 100644
index 0000000..12b5c29
--- /dev/null
+++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/service/ScheduleJobService.java
@@ -0,0 +1,55 @@
+package com.iailab.module.shasteel.job.service;
+
+import com.iailab.framework.common.pojo.PageResult;
+import com.iailab.framework.common.service.BaseService;
+import com.iailab.module.shasteel.job.dto.ScheduleJobDTO;
+import com.iailab.module.shasteel.job.entity.ScheduleJobEntity;
+import com.iailab.module.shasteel.job.vo.ScheduleJobReqVO;
+
+
+/**
+ * 定时任务
+ *
+ * @author Mark sunlightcs@gmail.com
+ */
+public interface ScheduleJobService{
+
+	PageResult<ScheduleJobEntity> page(ScheduleJobReqVO reqVO);
+
+	ScheduleJobDTO get(Long id);
+
+	/**
+	 * 保存定时任务
+	 */
+	void save(ScheduleJobDTO dto);
+	
+	/**
+	 * 更新定时任务
+	 */
+	void update(ScheduleJobDTO dto);
+	
+	/**
+	 * 批量删除定时任务
+	 */
+	void deleteBatch(Long id);
+	
+	/**
+	 * 批量更新定时任务状态
+	 */
+	int updateBatch(Long[] ids, int status);
+	
+	/**
+	 * 立即执行
+	 */
+	void run(Long[] ids);
+	
+	/**
+	 * 暂停运行
+	 */
+	void pause(Long[] ids);
+	
+	/**
+	 * 恢复运行
+	 */
+	void resume(Long[] ids);
+}

--
Gitblit v1.9.3