UserNucleicTimeMapper.java 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. package com.ruoyi.system.mapper;
  2. import java.util.Date;
  3. import java.util.List;
  4. import com.ruoyi.system.domain.UserInfo;
  5. import com.ruoyi.system.domain.UserNucleicTime;
  6. import org.apache.ibatis.annotations.Param;
  7. /**
  8. * 导入人员核酸时间记录Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2022-08-15
  12. */
  13. public interface UserNucleicTimeMapper
  14. {
  15. /**
  16. * 查询导入人员核酸时间记录
  17. *
  18. * @param id 导入人员核酸时间记录主键
  19. * @return 导入人员核酸时间记录
  20. */
  21. public UserNucleicTime selectUserNucleicTimeById(Long id);
  22. /**
  23. * 查询导入人员核酸时间记录列表
  24. *
  25. * @param userNucleicTime 导入人员核酸时间记录
  26. * @return 导入人员核酸时间记录集合
  27. */
  28. public List<UserNucleicTime> selectUserNucleicTimeList(UserNucleicTime userNucleicTime);
  29. /**
  30. * 新增导入人员核酸时间记录
  31. *
  32. * @param userNucleicTime 导入人员核酸时间记录
  33. * @return 结果
  34. */
  35. public int insertUserNucleicTime(UserNucleicTime userNucleicTime);
  36. /**
  37. * 修改导入人员核酸时间记录
  38. *
  39. * @param userNucleicTime 导入人员核酸时间记录
  40. * @return 结果
  41. */
  42. public int updateUserNucleicTime(UserNucleicTime userNucleicTime);
  43. /**
  44. * 删除导入人员核酸时间记录
  45. *
  46. * @param id 导入人员核酸时间记录主键
  47. * @return 结果
  48. */
  49. public int deleteUserNucleicTimeById(Long id);
  50. /**
  51. * 批量删除导入人员核酸时间记录
  52. *
  53. * @param ids 需要删除的数据主键集合
  54. * @return 结果
  55. */
  56. public int deleteUserNucleicTimeByIds(Long[] ids);
  57. /**
  58. * 获取本月人数
  59. * @param monthTime
  60. * @return
  61. */
  62. public int getIndexDataMonth(Date monthTime);
  63. /**
  64. * 获取本周人数
  65. * @param weekTime
  66. * @return
  67. */
  68. public int getIndexDataWeek(Date weekTime);
  69. /**
  70. * 获取上周人数
  71. * @param weekTime
  72. * @return
  73. */
  74. public int getIndexDataLastWeek(Date weekTime);
  75. List<UserNucleicTime> selectHomeList(@Param("startTime") String startTime, @Param("endTime")String endTime);
  76. /**
  77. * 获取首页折线图/柱状图,本周所有人群数据
  78. * @param weekTime
  79. * @return
  80. */
  81. public List<UserNucleicTime> getJobStyle(Date weekTime);
  82. }