package doumeemes.service.business;
|
|
import doumeemes.core.model.PageData;
|
import doumeemes.core.model.PageWrap;
|
import doumeemes.dao.business.model.Notices;
|
import java.util.List;
|
|
/**
|
* 系统-待办通知信息表Service定义
|
* @author 江蹄蹄
|
* @date 2022/06/17 15:10
|
*/
|
public interface NoticesService {
|
|
/**
|
* 创建
|
*
|
* @param notices 实体对象
|
* @return Integer
|
*/
|
Integer create(Notices notices);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(String id);
|
|
/**
|
* 删除
|
*
|
* @param notices 实体对象
|
*/
|
void delete(Notices notices);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<String> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param notices 实体对象
|
*/
|
void updateById(Notices notices);
|
|
/**
|
* 批量主键更新
|
*
|
* @param noticess 实体集
|
*/
|
void updateByIdInBatch(List<Notices> noticess);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return Notices
|
*/
|
Notices findById(String id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param notices 实体对象
|
* @return Notices
|
*/
|
Notices findOne(Notices notices);
|
|
/**
|
* 条件查询
|
*
|
* @param notices 实体对象
|
* @return List<Notices>
|
*/
|
List<Notices> findList(Notices notices);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<Notices>
|
*/
|
PageData<Notices> findPage(PageWrap<Notices> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param notices 实体对象
|
* @return long
|
*/
|
long count(Notices notices);
|
}
|