package doumeemes.service.business;
|
|
import doumeemes.core.model.PageData;
|
import doumeemes.core.model.PageWrap;
|
import doumeemes.dao.business.model.Endcheck;
|
import java.util.List;
|
|
/**
|
* 工单类-终检检验信息表Service定义
|
* @author 江蹄蹄
|
* @since 2022/07/07 16:32
|
*/
|
public interface EndcheckService {
|
|
/**
|
* 创建
|
*
|
* @param endcheck 实体对象
|
* @return Integer
|
*/
|
Integer create(Endcheck endcheck);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param endcheck 实体对象
|
*/
|
void delete(Endcheck endcheck);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param endcheck 实体对象
|
*/
|
void updateById(Endcheck endcheck);
|
|
/**
|
* 批量主键更新
|
*
|
* @param endchecks 实体集
|
*/
|
void updateByIdInBatch(List<Endcheck> endchecks);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return Endcheck
|
*/
|
Endcheck findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param endcheck 实体对象
|
* @return Endcheck
|
*/
|
Endcheck findOne(Endcheck endcheck);
|
|
/**
|
* 条件查询
|
*
|
* @param endcheck 实体对象
|
* @return List<Endcheck>
|
*/
|
List<Endcheck> findList(Endcheck endcheck);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<Endcheck>
|
*/
|
PageData<Endcheck> findPage(PageWrap<Endcheck> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param endcheck 实体对象
|
* @return long
|
*/
|
long count(Endcheck endcheck);
|
}
|