ISysNoticeService.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package com.ruoyi.system.service;
  2. import com.ruoyi.common.core.page.IServicePlus;
  3. import com.ruoyi.common.core.page.TableDataInfo;
  4. import com.ruoyi.system.domain.SysNotice;
  5. import java.util.List;
  6. /**
  7. * 公告 服务层
  8. *
  9. * @author ruoyi
  10. */
  11. public interface ISysNoticeService extends IServicePlus<SysNotice> {
  12. TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice);
  13. /**
  14. * 查询公告信息
  15. *
  16. * @param noticeId 公告ID
  17. * @return 公告信息
  18. */
  19. public SysNotice selectNoticeById(Long noticeId);
  20. /**
  21. * 查询公告列表
  22. *
  23. * @param notice 公告信息
  24. * @return 公告集合
  25. */
  26. public List<SysNotice> selectNoticeList(SysNotice notice);
  27. /**
  28. * 新增公告
  29. *
  30. * @param notice 公告信息
  31. * @return 结果
  32. */
  33. public int insertNotice(SysNotice notice);
  34. /**
  35. * 修改公告
  36. *
  37. * @param notice 公告信息
  38. * @return 结果
  39. */
  40. public int updateNotice(SysNotice notice);
  41. /**
  42. * 删除公告信息
  43. *
  44. * @param noticeId 公告ID
  45. * @return 结果
  46. */
  47. public int deleteNoticeById(Long noticeId);
  48. /**
  49. * 批量删除公告信息
  50. *
  51. * @param noticeIds 需要删除的公告ID
  52. * @return 结果
  53. */
  54. public int deleteNoticeByIds(Long[] noticeIds);
  55. }