You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
1 year ago
|
package com.zc.business.service;
|
||
|
|
||
|
|
||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||
|
import com.ruoyi.common.exception.job.TaskException;
|
||
|
import com.zc.business.domain.DcBatchFunctionsJob;
|
||
|
import org.quartz.SchedulerException;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* 定时任务Service接口
|
||
|
*
|
||
|
* @author zhaoxianglong
|
||
|
*/
|
||
|
public interface IDcBatchFunctionsJobService extends IService<DcBatchFunctionsJob> {
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 添加信息
|
||
|
*
|
||
|
* @return 操作结果
|
||
|
*/
|
||
|
DcBatchFunctionsJob addDcBatchFunctionsJob(DcBatchFunctionsJob dcBatchFunctionsJob) throws TaskException, SchedulerException;
|
||
|
|
||
|
/**
|
||
|
* 修改信息
|
||
|
*
|
||
|
* @return 操作结果
|
||
|
*/
|
||
|
boolean editDcBatchFunctionsJob(DcBatchFunctionsJob dcBatchFunctionsJob) throws SchedulerException, TaskException;
|
||
|
|
||
|
/**
|
||
|
* 删除
|
||
|
*
|
||
|
* @return 操作结果
|
||
|
*/
|
||
|
boolean removeDcBatchFunctionsJob(List<String> ids) throws SchedulerException, TaskException;
|
||
|
|
||
|
/**
|
||
|
* 获取列表
|
||
|
*
|
||
|
* @return 结果
|
||
|
*/
|
||
|
List<DcBatchFunctionsJob> pageDcBatchFunctionsJob(DcBatchFunctionsJob dcBatchFunctionsJob);
|
||
|
|
||
|
/**
|
||
|
* 获取列表
|
||
|
*
|
||
|
* @return 结果
|
||
|
*/
|
||
|
List<DcBatchFunctionsJob> listDcBatchFunctionsJob(DcBatchFunctionsJob dcBatchFunctionsJob) throws SchedulerException;
|
||
|
|
||
|
boolean changeStatus(DcBatchFunctionsJob dcBatchFunctionsJob, String status) throws SchedulerException, TaskException;
|
||
|
|
||
|
boolean deletesATaskByTime(String groupId, String time);
|
||
|
}
|