package doumeemes.service.business;
|
|
import doumeemes.core.model.PageData;
|
import doumeemes.core.model.PageWrap;
|
import doumeemes.dao.business.model.PlanHistory;
|
import java.util.List;
|
|
/**
|
* 工单类-计划执行历史记录表Service定义
|
* @author 江蹄蹄
|
* @date 2022/04/20 09:34
|
*/
|
public interface PlanHistoryService {
|
|
/**
|
* 创建
|
*
|
* @param planHistory 实体对象
|
* @return Integer
|
*/
|
Integer create(PlanHistory planHistory);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param planHistory 实体对象
|
*/
|
void delete(PlanHistory planHistory);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param planHistory 实体对象
|
*/
|
void updateById(PlanHistory planHistory);
|
|
/**
|
* 批量主键更新
|
*
|
* @param planHistorys 实体集
|
*/
|
void updateByIdInBatch(List<PlanHistory> planHistorys);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return PlanHistory
|
*/
|
PlanHistory findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param planHistory 实体对象
|
* @return PlanHistory
|
*/
|
PlanHistory findOne(PlanHistory planHistory);
|
|
/**
|
* 条件查询
|
*
|
* @param planHistory 实体对象
|
* @return List<PlanHistory>
|
*/
|
List<PlanHistory> findList(PlanHistory planHistory);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<PlanHistory>
|
*/
|
PageData<PlanHistory> findPage(PageWrap<PlanHistory> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param planHistory 实体对象
|
* @return long
|
*/
|
long count(PlanHistory planHistory);
|
}
|