IPoCollectionService.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package com.ruoyi.system.service;
  2. import com.ruoyi.system.domain.PoCollection;
  3. import java.util.Date;
  4. import java.util.List;
  5. /**
  6. * 消息接口
  7. */
  8. public interface IPoCollectionService {
  9. /**
  10. * 获取藏品详细内容
  11. *
  12. * @param collectionId 藏品ID
  13. * @return 藏品信息
  14. */
  15. PoCollection selectCollectionById(Long collectionId);
  16. /**
  17. * 获取藏品列表
  18. *
  19. * @param poCollection 藏品信息
  20. * @return 藏品列表
  21. */
  22. List<PoCollection> selectPoCollectionList(PoCollection poCollection);
  23. /**
  24. * 搜索,导出藏品列表
  25. *
  26. * @param collectionName 藏品名字(模糊查询)
  27. * @param startTime 创建时间起始
  28. * @param endTime 创建时间结束
  29. * @param status 藏品状态
  30. * @param delFlag 是否已删除
  31. * @return 藏品列表
  32. */
  33. List<PoCollection> queryPoCollectionList(String collectionName, Date startTime, Date endTime, Long status, Long delFlag);
  34. /**
  35. * 增加
  36. *
  37. * @param collection 藏品信息
  38. * @return 操作状态
  39. */
  40. int insertCollection(PoCollection collection);
  41. /**
  42. * 批量增加
  43. *
  44. * @param collectionList 藏品信息
  45. * @return 操作状态
  46. */
  47. int batchInsertCollection(List<PoCollection> collectionList);
  48. /**
  49. * 修改
  50. *
  51. * @param collection 更新的藏品信息
  52. * @return 操作状态
  53. */
  54. int updateCollection(PoCollection collection);
  55. /**
  56. * 删除藏品
  57. *
  58. * @param collectionIds 藏品ID
  59. * @return 操作结果
  60. */
  61. int deletePoCollectionByCollectionIds(Long[] collectionIds);
  62. /**
  63. * 定时更新藏品状态
  64. */
  65. void updateCollectionStatus();
  66. }