TUserProfileMapper.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. package com.ruoyi.system.mapper;
  2. import java.util.List;
  3. import com.ruoyi.common.annotation.DataSource;
  4. import com.ruoyi.common.enums.DataSourceType;
  5. import com.ruoyi.system.domain.TServiceManage;
  6. import com.ruoyi.system.domain.TUserProfile;
  7. import com.ruoyi.system.domain.TEmergentPeople;
  8. import com.ruoyi.system.domain.dto.AddUserDto;
  9. import com.ruoyi.system.domain.dto.TUserProfileDto;
  10. import com.ruoyi.system.domain.dto.UserAgeDto;
  11. /**
  12. * 用户档案Mapper接口
  13. *
  14. * @author zhengjie
  15. * @date 2023-08-25
  16. */
  17. public interface TUserProfileMapper
  18. {
  19. /**
  20. * 查询用户档案
  21. *
  22. * @param id 用户档案主键
  23. * @return 用户档案
  24. */
  25. public TUserProfile selectTUserProfileById(Integer id);
  26. /**
  27. * 查询用户档案
  28. *
  29. * @param sfzid 身份证
  30. * @return 用户档案
  31. */
  32. public TUserProfile selectTUserProfileBySfzId(String sfzid);
  33. /**
  34. * 查询用户档案列表
  35. *
  36. * @param tUserProfile 用户档案
  37. * @return 用户档案集合
  38. */
  39. public List<TUserProfile> selectTUserProfileList(TUserProfile tUserProfile);
  40. /**
  41. * 查询用户档案列表
  42. *
  43. * @param tUserProfileDto 用户档案
  44. * @return 用户档案集合
  45. */
  46. public List<TUserProfileDto> selectTUserProfileListByDevice(TUserProfileDto tUserProfileDto);
  47. /**
  48. * 新增用户档案
  49. *
  50. * @param tUserProfile 用户档案
  51. * @return 结果
  52. */
  53. public int insertTUserProfile(TUserProfile tUserProfile);
  54. /**
  55. * 修改用户档案
  56. *
  57. * @param tUserProfile 用户档案
  58. * @return 结果
  59. */
  60. public int updateTUserProfile(TUserProfile tUserProfile);
  61. /**
  62. * 删除用户档案
  63. *
  64. * @param id 用户档案主键
  65. * @return 结果
  66. */
  67. public int deleteTUserProfileById(Integer id);
  68. /**
  69. * 批量删除用户档案
  70. *
  71. * @param ids 需要删除的数据主键集合
  72. * @return 结果
  73. */
  74. public int deleteTUserProfileByIds(Integer[] ids);
  75. /**
  76. * 批量删除紧急联系人
  77. *
  78. * @param ids 需要删除的数据主键集合
  79. * @return 结果
  80. */
  81. public int deleteTEmergentPeopleByProfileIds(Integer[] ids);
  82. /**
  83. * 批量新增紧急联系人
  84. *
  85. * @param tEmergentPeopleList 紧急联系人列表
  86. * @return 结果
  87. */
  88. public int batchTEmergentPeople(List<TEmergentPeople> tEmergentPeopleList);
  89. /**
  90. * 通过用户档案主键删除紧急联系人信息
  91. *
  92. * @param id 用户档案ID
  93. * @return 结果
  94. */
  95. public int deleteTEmergentPeopleByProfileId(Integer id);
  96. /**
  97. * 用户年龄
  98. *
  99. * @return 结果
  100. */
  101. public List<UserAgeDto> selectuserAgeDto();
  102. /**
  103. * 用户总数
  104. *
  105. * @return 结果
  106. */
  107. public Integer selectuserAgeCount();
  108. /**
  109. * 用户新增
  110. *
  111. * @return 结果
  112. */
  113. public List<AddUserDto> selectAddUser();
  114. }