package com.doumee.service.system;
|
|
import com.doumee.dao.system.model.SystemJob;
|
import java.util.List;
|
|
/**
|
* 系统定时任务Service定义
|
* @author Eva.Caesar Liu
|
* @since 2025/03/31 16:44
|
*/
|
public interface SystemJobService {
|
|
/**
|
* 创建
|
*
|
* @param systemJob 实体对象
|
* @return Integer
|
*/
|
Integer create(SystemJob systemJob);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param systemJob 实体对象
|
*/
|
void delete(SystemJob systemJob);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param systemJob 实体对象
|
*/
|
void updateById(SystemJob systemJob);
|
|
/**
|
* 批量主键更新
|
*
|
* @param systemJobs 实体集
|
*/
|
void updateByIdInBatch(List<SystemJob> systemJobs);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return SystemJob
|
*/
|
SystemJob findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param systemJob 实体对象
|
* @return SystemJob
|
*/
|
SystemJob findOne(SystemJob systemJob);
|
|
/**
|
* 条件查询
|
*
|
* @param systemJob 实体对象
|
* @return List<SystemJob>
|
*/
|
List<SystemJob> findList(SystemJob systemJob);
|
|
/**
|
* 条件统计
|
*
|
* @param systemJob 实体对象
|
* @return long
|
*/
|
long count(SystemJob systemJob);
|
}
|