From 8766cfc344d3635cd7e50a7c674cd5feb54d5a3d Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期一, 02 十二月 2024 09:30:35 +0800
Subject: [PATCH] 预警mq监听并发送

---
 shasteel-biz/src/main/java/com/iailab/module/shasteel/job/service/ScheduleJobService.java |   13 +++++++------
 1 files changed, 7 insertions(+), 6 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
index 12b5c29..9cb3dbf 100644
--- 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
@@ -1,20 +1,21 @@
 package com.iailab.module.shasteel.job.service;
 
-import com.iailab.framework.common.pojo.PageResult;
+
+import com.iailab.framework.common.page.PageData;
 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;
 
+import java.util.Map;
 
 /**
  * 定时任务
  *
  * @author Mark sunlightcs@gmail.com
  */
-public interface ScheduleJobService{
+public interface ScheduleJobService extends BaseService<ScheduleJobEntity> {
 
-	PageResult<ScheduleJobEntity> page(ScheduleJobReqVO reqVO);
+	PageData<ScheduleJobDTO> page(Map<String, Object> params);
 
 	ScheduleJobDTO get(Long id);
 
@@ -31,7 +32,7 @@
 	/**
 	 * 批量删除定时任务
 	 */
-	void deleteBatch(Long id);
+	void deleteBatch(Long[] ids);
 	
 	/**
 	 * 批量更新定时任务状态
@@ -41,7 +42,7 @@
 	/**
 	 * 立即执行
 	 */
-	void run(Long[] ids);
+	void run(Long id);
 	
 	/**
 	 * 暂停运行

--
Gitblit v1.9.3