PoCollectionMapper.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package com.ruoyi.system.mapper;
  2. import com.ruoyi.system.domain.PoCollection;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import java.util.List;
  5. /**
  6. * 藏品表 数据层
  7. *
  8. * @author blue
  9. */
  10. @Mapper
  11. public interface PoCollectionMapper {
  12. /**
  13. * 查询藏品信息
  14. *
  15. * @param collectionId 藏品ID
  16. * @return 藏品信息
  17. */
  18. PoCollection selectPoCollectionById(Long collectionId);
  19. /**
  20. * 查询藏品列表
  21. *
  22. * @param collections 藏品信息
  23. * @return 藏品集合
  24. */
  25. List<PoCollection> selectPoCollectionList(PoCollection collections);
  26. /**
  27. * 新增藏品
  28. *
  29. * @param collections 藏品信息
  30. * @return 结果
  31. */
  32. int insertPoCollection(PoCollection collections);
  33. /**
  34. * 修改藏品
  35. *
  36. * @param collections 藏品信息
  37. * @return 结果
  38. */
  39. int updatePoCollection(PoCollection collections);
  40. /**
  41. * 批量删除藏品
  42. *
  43. * @param collectionsId 藏品ID
  44. * @return 结果
  45. */
  46. int deletePoCollectionById(Long collectionsId);
  47. /**
  48. * 批量删除藏品信息
  49. *
  50. * @param collectionsIds 需要删除的藏品ID
  51. * @return 结果
  52. */
  53. int deletePoCollectionByIds(Long[] collectionsIds);
  54. }