PostCollectionsMapper.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package com.ruoyi.system.mapper;
  2. import java.util.List;
  3. import com.ruoyi.system.domain.vo.PostCollectionsVo;
  4. import com.ruoyi.system.domain.PostCollections;
  5. /**
  6. * 藏品Mapper接口
  7. *
  8. * @author ruoyi
  9. * @date 2023-02-15
  10. */
  11. public interface PostCollectionsMapper
  12. {
  13. /**
  14. * 查询藏品
  15. *
  16. * @param id 藏品主键
  17. * @return 藏品
  18. */
  19. public PostCollectionsVo selectPostCollectionsById(Long id);
  20. /**
  21. * 查询藏品列表
  22. *
  23. * @param id 藏品
  24. * @return 藏品集合
  25. */
  26. public List<PostCollections> selectPostCollectionsList(Long id);
  27. /**
  28. * 新增藏品
  29. *
  30. * @param postCollectionsVo 藏品
  31. * @return 结果
  32. */
  33. public int insertPostCollections(PostCollectionsVo postCollectionsVo);
  34. /**
  35. * 修改藏品
  36. *
  37. * @param postCollections 藏品
  38. * @return 结果
  39. */
  40. public int updatePostCollections(PostCollections postCollections);
  41. /**
  42. * 删除藏品
  43. *
  44. * @param id 藏品主键
  45. * @return 结果
  46. */
  47. public int deletePostCollectionsById(Long id);
  48. /**
  49. * 批量删除藏品
  50. *
  51. * @param ids 需要删除的数据主键集合
  52. * @return 结果
  53. */
  54. public int deletePostCollectionsByIds(Long[] ids);
  55. }