StatisticsMapper.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package com.gz.mapper.welcome;
  2. import com.gz.rvo.borrow.ArchiveBorrowHistoryRVO;
  3. import com.gz.rvo.welcome.ArchiveCountRVO;
  4. import com.gz.rvo.welcome.BorrowRecordRVO;
  5. import java.util.List;
  6. public interface StatisticsMapper {
  7. /**
  8. * @description 查询所有待处理记录
  9. * @author LiuChangLan
  10. * @since 2021/3/2 11:49
  11. */
  12. List<BorrowRecordRVO> selectWaitHandleRecord();
  13. /**
  14. * @description 查询所有待归还记录
  15. * @author LiuChangLan
  16. * @since 2021/3/2 11:49
  17. */
  18. List<BorrowRecordRVO> selectWaitReturnRecord();
  19. /**
  20. * @description 根据门类统计数量
  21. * @author LiuChangLan
  22. * @since 2021/3/2 11:50
  23. */
  24. List<ArchiveCountRVO> selectArchiveByMl();
  25. /**
  26. * @description 根据归档年度统计数量
  27. * @author LiuChangLan
  28. * @since 2021/3/2 11:50
  29. */
  30. List<ArchiveCountRVO> selectArchiveByYear();
  31. /**
  32. * @description 查询我的到期未归还记录
  33. * @author LiuChangLan
  34. * @since 2021/3/2 11:50
  35. */
  36. List<BorrowRecordRVO> selectMyWaitReturnRecord(String userId);
  37. /**
  38. * @description 查询我的三天内到期的记录
  39. * @author LiuChangLan
  40. * @since 2021/3/2 11:50
  41. */
  42. List<BorrowRecordRVO> selectMyDueSoonRecord(String userId);
  43. /**
  44. * @description 查询借阅历史数量
  45. * @author LiuChangLan
  46. * @since 2021/3/2 12:50
  47. */
  48. Integer selectMyHistoryBorrowCount(String userId);
  49. /**
  50. * @description 申请未处理数量
  51. * @author LiuChangLan
  52. * @since 2021/3/2 12:51
  53. */
  54. Integer selectRuditNotHandleCount(String userId);
  55. /**
  56. * @description 查询近一年的借阅记录
  57. * @author LiuChangLan
  58. * @since 2021/3/5 13:14
  59. */
  60. List<ArchiveBorrowHistoryRVO> selectBorrowCountByDate();
  61. }