| | |
| | | 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); |
| | | |
| | |
| | | /** |
| | | * 批量删除定时任务 |
| | | */ |
| | | void deleteBatch(Long id); |
| | | void deleteBatch(Long[] ids); |
| | | |
| | | /** |
| | | * 批量更新定时任务状态 |
| | |
| | | /** |
| | | * 立即执行 |
| | | */ |
| | | void run(Long[] ids); |
| | | void run(Long id); |
| | | |
| | | /** |
| | | * 暂停运行 |