SysNoticeMapper.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package com.warewms.system.mapper;
  2. import java.util.List;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.warewms.common.core.domain.entity.SysDictType;
  5. import com.warewms.system.domain.SysNotice;
  6. import org.apache.ibatis.annotations.Param;
  7. /**
  8. * 通知公告表 数据层
  9. *
  10. * @author ruoyi
  11. */
  12. public interface SysNoticeMapper
  13. {
  14. /**
  15. * 查询公告信息
  16. *
  17. * @param noticeId 公告ID
  18. * @return 公告信息
  19. */
  20. public SysNotice selectNoticeById(Long noticeId);
  21. /**
  22. * 查询公告列表
  23. *
  24. * @param notice 公告信息
  25. * @return 公告集合
  26. */
  27. public List<SysNotice> selectNoticeList(@Param("notice") SysNotice notice);
  28. /**
  29. * 查询公告列表
  30. *
  31. * @param notice 公告信息
  32. * @return 公告集合
  33. */
  34. public Page<SysNotice> selectNoticeList(@Param("page") Page<SysNotice> page, @Param("notice") SysNotice notice);
  35. /**
  36. * 新增公告
  37. *
  38. * @param notice 公告信息
  39. * @return 结果
  40. */
  41. public int insertNotice(SysNotice notice);
  42. /**
  43. * 修改公告
  44. *
  45. * @param notice 公告信息
  46. * @return 结果
  47. */
  48. public int updateNotice(SysNotice notice);
  49. /**
  50. * 批量删除公告
  51. *
  52. * @param noticeId 公告ID
  53. * @return 结果
  54. */
  55. public int deleteNoticeById(Long noticeId);
  56. /**
  57. * 批量删除公告信息
  58. *
  59. * @param noticeIds 需要删除的公告ID
  60. * @return 结果
  61. */
  62. public int deleteNoticeByIds(Long[] noticeIds);
  63. }