package com.doumee.service.system; import com.doumee.core.model.PageData; import com.doumee.core.model.PageWrap; import com.doumee.dao.system.dto.NoticesDTO; import com.doumee.dao.system.model.Notices; import java.util.List; /** * 系统消息信息表Service定义 * @author 江蹄蹄 * @date 2024/01/16 10:03 */ public interface NoticesService { /** * 创建 * * @param notices 实体对象 * @return Integer */ Integer create(Notices notices); /** * 主键删除 * * @param id 主键 */ void deleteById(Integer id); /** * 删除 * * @param notices 实体对象 */ void delete(Notices notices); /** * 批量主键删除 * * @param ids 主键集 */ void deleteByIdInBatch(List ids); /** * 主键更新 * * @param notices 实体对象 */ void updateById(Notices notices); /** * 批量主键更新 * * @param noticess 实体集 */ void updateByIdInBatch(List noticess); /** * 主键查询 * * @param id 主键 * @return Notices */ Notices findById(Integer id); /** * 条件查询单条记录 * * @param notices 实体对象 * @return Notices */ Notices findOne(Notices notices); /** * 条件查询 * * @param notices 实体对象 * @return List */ List findList(Notices notices); /** * 分页查询 * * @param pageWrap 分页对象 * @return PageData */ PageData findPage(PageWrap pageWrap); /** * 条件统计 * * @param notices 实体对象 * @return long */ long count(Notices notices); PageData taskCanterPage(PageWrap pageWrap); void signReadById(Integer noticesId); void signRead(Integer memberId); }