12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- package com.ruoyi.system.service;
- import com.ruoyi.common.core.domain.PageQuery;
- import com.ruoyi.common.core.page.TableDataInfo;
- import com.ruoyi.system.domain.SysNotice;
- import java.util.List;
- /**
- * 公告 服务层
- *
- * @author Lion Li
- */
- public interface ISysNoticeService {
- TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice, PageQuery pageQuery);
- TableDataInfo<SysNotice> selectPageNoticeListApp(SysNotice notice, PageQuery pageQuery);
- /**
- * 查询公告信息
- *
- * @param noticeId 公告ID
- * @return 公告信息
- */
- SysNotice selectNoticeById(Long noticeId);
- /**
- * 查询公告列表
- *
- * @param notice 公告信息
- * @return 公告集合
- */
- List<SysNotice> selectNoticeList(SysNotice notice);
- /**
- * 新增公告
- *
- * @param notice 公告信息
- * @return 结果
- */
- int insertNotice(SysNotice notice);
- /**
- * 修改公告
- *
- * @param notice 公告信息
- * @return 结果
- */
- int updateNotice(SysNotice notice);
- /**
- * 删除公告信息
- *
- * @param noticeId 公告ID
- * @return 结果
- */
- int deleteNoticeById(Long noticeId);
- /**
- * 批量删除公告信息
- *
- * @param noticeIds 需要删除的公告ID
- * @return 结果
- */
- int deleteNoticeByIds(Long[] noticeIds);
- }
|