12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- package beilv.system.mapper;
- import java.util.List;
- import beilv.system.domain.SysNotice;
- /**
- * 公告 数据层
- *
- * @author ruoyi
- */
- public interface SysNoticeMapper
- {
- /**
- * 查询公告信息
- *
- * @param noticeId 公告ID
- * @return 公告信息
- */
- public SysNotice selectNoticeById(Long noticeId);
- /**
- * 查询公告列表
- *
- * @param notice 公告信息
- * @return 公告集合
- */
- public List<SysNotice> selectNoticeList(SysNotice notice);
- /**
- * 新增公告
- *
- * @param notice 公告信息
- * @return 结果
- */
- public int insertNotice(SysNotice notice);
- /**
- * 修改公告
- *
- * @param notice 公告信息
- * @return 结果
- */
- public int updateNotice(SysNotice notice);
- /**
- * 批量删除公告
- *
- * @param noticeIds 需要删除的数据ID
- * @return 结果
- */
- public int deleteNoticeByIds(String[] noticeIds);
- List<SysNotice> selectNoticeListApp(SysNotice notice);
- List<SysNotice> getTopNotice(SysNotice notice);
- int selectNoticeCount(SysNotice notice);
- }
|