SpecialCollectionMapper.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package com.ruoyi.project.VRdemo.mapper;
  2. import java.util.List;
  3. import com.ruoyi.project.VRdemo.domain.SpecialCollection;
  4. /**
  5. * 东南亚大型特藏Mapper接口
  6. *
  7. * @author ruoyi
  8. * @date 2024-10-06
  9. */
  10. public interface SpecialCollectionMapper {
  11. /**
  12. * 查询东南亚大型特藏
  13. *
  14. * @param id 东南亚大型特藏主键
  15. * @return 东南亚大型特藏
  16. */
  17. SpecialCollection selectCollectionById(Long id);
  18. /**
  19. * 根据链接查询
  20. */
  21. SpecialCollection selectCollectionByTitle(String title);
  22. /**
  23. * 查询东南亚大型特藏列表
  24. *
  25. * @param specialCollection 东南亚大型特藏
  26. * @return 东南亚大型特藏集合
  27. */
  28. List<SpecialCollection> selectCollectionList(SpecialCollection specialCollection);
  29. /**
  30. * 新增东南亚大型特藏
  31. *
  32. * @param specialCollection 东南亚大型特藏
  33. * @return 结果
  34. */
  35. int insertCollection(SpecialCollection specialCollection);
  36. /**
  37. * 批量插入数据
  38. */
  39. int insertCollectionDataList(List<SpecialCollection> dataList);
  40. /**
  41. * 修改东南亚大型特藏
  42. *
  43. * @param specialCollection 东南亚大型特藏
  44. * @return 结果
  45. */
  46. int updateCollection(SpecialCollection specialCollection);
  47. /**
  48. * 删除东南亚大型特藏
  49. *
  50. * @param id 东南亚大型特藏主键
  51. * @return 结果
  52. */
  53. int deleteCollectionById(Long id);
  54. /**
  55. * 批量删除东南亚大型特藏
  56. *
  57. * @param ids 需要删除的数据主键集合
  58. * @return 结果
  59. */
  60. int deleteCollectionByIds(Long[] ids);
  61. }