TStaffmgrMapper.java 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. package com.ruoyi.project.plant.mapper;
  2. import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
  3. import com.ruoyi.project.common.domain.DataEntity;
  4. import com.ruoyi.project.plant.domain.TStaffmgr;
  5. import com.ruoyi.project.system.domain.SysUser;
  6. import java.util.List;
  7. /**
  8. * 人员管理Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2020-11-25
  12. */
  13. public interface TStaffmgrMapper
  14. {
  15. /**
  16. * 获取当班班长
  17. */
  18. public TStaffmgr selectMonitor(TStaffmgr tStaffmgr);
  19. public List<TStaffmgr> selectStaffByMonitor(TStaffmgr tStaffmgr);
  20. /**
  21. * 获取OTS培训专员
  22. */
  23. public List<TStaffmgr> selectOtsList(TStaffmgr tStaffmgr);
  24. /**
  25. * 获取EOEG SAI验证人列表
  26. */
  27. public List<TStaffmgr> selectEoegSaiInspectors();
  28. /**
  29. * 获取EOEG SAI整改负责人列表
  30. */
  31. public List<TStaffmgr> selectEoegSaiExecutors();
  32. /**
  33. * 获取EOEG SAI评估人列表
  34. */
  35. public List<TStaffmgr> selectEoegSaiAssessors();
  36. /**
  37. * 获取SAI验证人列表
  38. */
  39. public List<TStaffmgr> selectSaiInspectors();
  40. /**
  41. * 获取SAI整改负责人列表
  42. */
  43. public List<TStaffmgr> selectSaiExecutors();
  44. /**
  45. * 获取SAI评估人列表
  46. */
  47. public List<TStaffmgr> selectSaiAssessor();
  48. /**
  49. * 查询导师下拉列表
  50. *
  51. * @param tStaffmgr 人员管理
  52. * @return 人员管理集合
  53. */
  54. public List<TStaffmgr> selectMentorList(TStaffmgr tStaffmgr);
  55. /**
  56. * 查询人员管理
  57. *
  58. * @param staffid 人员管理员工编号
  59. * @return 人员管理
  60. */
  61. public TStaffmgr selectTStaffmgrByStaffId(String staffid);
  62. /**
  63. * 查询人员管理
  64. *
  65. * @param id 人员管理ID
  66. * @return 人员管理
  67. */
  68. public TStaffmgr selectTStaffmgrById(Long id);
  69. /**
  70. * 查询人员管理列表
  71. *
  72. * @param tStaffmgr 人员管理
  73. * @return 人员管理集合
  74. */
  75. @DataScope(deptAlias = "d")
  76. public List<TStaffmgr> selectTStaffmgrList(TStaffmgr tStaffmgr);
  77. /**
  78. * 查询人员管理列表
  79. *
  80. * @param tStaffmgr 人员管理
  81. * @return 人员管理集合
  82. */
  83. public List<TStaffmgr> selectTStaffmgrListByDeptId(TStaffmgr tStaffmgr);
  84. @DataScope(deptAlias = "d")
  85. public List<TStaffmgr> selectAllTStaffmgrList(TStaffmgr tStaffmgr);
  86. /**
  87. * 查询人员管理列表(无数据权限过滤,供定时任务使用)
  88. *
  89. * @param tStaffmgr 人员管理
  90. * @return 人员管理集合
  91. */
  92. public List<TStaffmgr> selectAllTStaffmgrListWithoutScope(TStaffmgr tStaffmgr);
  93. public List<TStaffmgr> selectTStaffmgrListByDeptAndTeam(TStaffmgr tStaffmgr);
  94. /**
  95. * 查询人员管理列表
  96. *
  97. * @param tStaffmgr 人员管理
  98. * @return 人员管理集合
  99. */
  100. public List<TStaffmgr> selectTStaffmgrListAll(TStaffmgr tStaffmgr);
  101. /**
  102. * 定时任务查询人员管理列表
  103. *
  104. * @param tStaffmgr 人员管理
  105. * @return 人员管理集合
  106. */
  107. @DataScope(deptAlias = "d")
  108. public List<TStaffmgr> selectList(TStaffmgr tStaffmgr);
  109. List<TStaffmgr> selectTaskList(TStaffmgr tStaffmgr);
  110. /**
  111. * 培训查询人员管理列表
  112. *
  113. * @param tStaffmgr 人员管理
  114. * @return 人员管理集合
  115. */
  116. @DataScope(deptAlias = "d")
  117. public List<TStaffmgr> selectRecordList(TStaffmgr tStaffmgr);
  118. /**
  119. * 新增人员管理
  120. *
  121. * @param tStaffmgr 人员管理
  122. * @return 结果
  123. */
  124. public int insertTStaffmgr(TStaffmgr tStaffmgr);
  125. /**
  126. * 修改人员管理
  127. *
  128. * @param tStaffmgr 人员管理
  129. * @return 结果
  130. */
  131. public int updateTStaffmgr(TStaffmgr tStaffmgr);
  132. /**
  133. * 删除人员管理
  134. *
  135. * @param id 人员管理ID
  136. * @return 结果
  137. */
  138. public int deleteTStaffmgrById(Long id);
  139. public int deleteLeftTStaffmgrByIds(Long ids);
  140. /**
  141. * 批量删除人员管理
  142. *
  143. * @param ids 需要删除的数据ID
  144. * @return 结果
  145. */
  146. public int deleteTStaffmgrByIds(Long[] ids);
  147. @DataScope(deptAlias = "d")
  148. List<DataEntity> selectEduData(TStaffmgr param);
  149. @DataScope(deptAlias = "d")
  150. List<DataEntity> selectEngData(TStaffmgr param);
  151. @DataScope(deptAlias = "d")
  152. List<DataEntity> selectTeamData(TStaffmgr param);
  153. @DataScope(deptAlias = "d")
  154. List<DataEntity> selectAgeData(TStaffmgr param);
  155. @DataScope(deptAlias = "d")
  156. List<TStaffmgr> selectLeftTStaffmgrList(TStaffmgr tStaffmgr);
  157. int reLeftTStaffmgrByIds(Long id);
  158. List<TStaffmgr> selectTStaffmgrByPost(SysUser sysUser);
  159. List<TStaffmgr> selectTMentorStaffmgrByPost(SysUser sysUser);
  160. @DataScope(deptAlias = "d")
  161. List<TStaffmgr> selectUserInfoByStaffmgr(TStaffmgr tStaffmgr);
  162. int deleteRetireTStaffmgrByIds(Long id);
  163. /**
  164. * 通过人名、部门ID、删除标志查询单个员工信息
  165. *
  166. * @param tStaffmgr 查询参数(包含name、deptId、delFlag)
  167. * @return 员工信息
  168. */
  169. TStaffmgr selectStaffmgrSingle(TStaffmgr tStaffmgr);
  170. }