public interface ScheduleJobService extends com.baomidou.mybatisplus.extension.service.IService<ScheduleJobEntity>
Modifier and Type | Method and Description |
---|---|
void |
add(ScheduleJobEntity scheduleJob)
新增定时任务
|
void |
deleteBatch(Long[] jobIds)
批量删除定时任务
|
void |
pause(Long[] jobIds)
暂停运行
|
PageUtilsPlus |
queryPage(Map<String,Object> params)
获取分页数据
|
void |
resume(Long[] jobIds)
恢复运行
|
void |
run(Long[] jobIds)
立即执行
|
void |
update(ScheduleJobEntity scheduleJob)
更新定时任务
|
void |
updateBatch(Long[] jobIds,
int status)
批量更新定时任务状态
|
count, count, getBaseMapper, getById, getMap, getObj, getOne, getOne, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
PageUtilsPlus queryPage(Map<String,Object> params)
params
- 查询参数void add(ScheduleJobEntity scheduleJob)
scheduleJob
- scheduleJobvoid update(ScheduleJobEntity scheduleJob)
scheduleJob
- scheduleJobvoid deleteBatch(Long[] jobIds)
jobIds
- jobIdsvoid updateBatch(Long[] jobIds, int status)
jobIds
- jobIdsstatus
- statusvoid run(Long[] jobIds)
jobIds
- jobIdsvoid pause(Long[] jobIds)
jobIds
- jobIdsvoid resume(Long[] jobIds)
jobIds
- jobIdsCopyright © 2021. All rights reserved.