TStaffmgrMapper.java 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. package com.ruoyi.project.plant.mapper;
  2. import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
  3. import com.ruoyi.framework.web.domain.BaseEntity;
  4. import com.ruoyi.project.common.domain.DataEntity;
  5. import com.ruoyi.project.plant.domain.TStaffmgr;
  6. import com.ruoyi.project.system.domain.SysUser;
  7. import java.util.List;
  8. import java.util.Map;
  9. /**
  10. * 人员管理Mapper接口
  11. *
  12. * @author ruoyi
  13. * @date 2020-11-25
  14. */
  15. public interface TStaffmgrMapper
  16. {
  17. /**
  18. * 获取当班班长
  19. */
  20. public TStaffmgr selectMonitor(TStaffmgr tStaffmgr);
  21. /**
  22. * 获取OTS培训专员
  23. */
  24. public List<TStaffmgr> selectOtsList(TStaffmgr tStaffmgr);
  25. /**
  26. * 获取SAI验证人列表
  27. */
  28. public List<TStaffmgr> selectSaiInspectors();
  29. /**
  30. * 获取SAI整改负责人列表
  31. */
  32. public List<TStaffmgr> selectSaiExecutors();
  33. /**
  34. * 查询导师下拉列表
  35. *
  36. * @param tStaffmgr 人员管理
  37. * @return 人员管理集合
  38. */
  39. public List<TStaffmgr> selectMentorList(TStaffmgr tStaffmgr);
  40. /**
  41. * 查询人员管理
  42. *
  43. * @param staffid 人员管理员工编号
  44. * @return 人员管理
  45. */
  46. public TStaffmgr selectTStaffmgrByStaffId(String staffid);
  47. /**
  48. * 查询人员管理
  49. *
  50. * @param id 人员管理ID
  51. * @return 人员管理
  52. */
  53. public TStaffmgr selectTStaffmgrById(Long id);
  54. /**
  55. * 查询人员管理列表
  56. *
  57. * @param tStaffmgr 人员管理
  58. * @return 人员管理集合
  59. */
  60. @DataScope(deptAlias = "d")
  61. public List<TStaffmgr> selectTStaffmgrList(TStaffmgr tStaffmgr);
  62. /**
  63. * 查询人员管理列表
  64. *
  65. * @param tStaffmgr 人员管理
  66. * @return 人员管理集合
  67. */
  68. public List<TStaffmgr> selectTStaffmgrListByDeptId(TStaffmgr tStaffmgr);
  69. @DataScope(deptAlias = "d")
  70. public List<TStaffmgr> selectAllTStaffmgrList(TStaffmgr tStaffmgr);
  71. public List<TStaffmgr> selectTStaffmgrListByDeptAndTeam(TStaffmgr tStaffmgr);
  72. /**
  73. * 查询人员管理列表
  74. *
  75. * @param tStaffmgr 人员管理
  76. * @return 人员管理集合
  77. */
  78. public List<TStaffmgr> selectTStaffmgrListAll(TStaffmgr tStaffmgr);
  79. /**
  80. * 定时任务查询人员管理列表
  81. *
  82. * @param tStaffmgr 人员管理
  83. * @return 人员管理集合
  84. */
  85. @DataScope(deptAlias = "d")
  86. public List<TStaffmgr> selectList(TStaffmgr tStaffmgr);
  87. List<TStaffmgr> selectTaskList(TStaffmgr tStaffmgr);
  88. /**
  89. * 培训查询人员管理列表
  90. *
  91. * @param tStaffmgr 人员管理
  92. * @return 人员管理集合
  93. */
  94. @DataScope(deptAlias = "d")
  95. public List<TStaffmgr> selectRecordList(TStaffmgr tStaffmgr);
  96. /**
  97. * 新增人员管理
  98. *
  99. * @param tStaffmgr 人员管理
  100. * @return 结果
  101. */
  102. public int insertTStaffmgr(TStaffmgr tStaffmgr);
  103. /**
  104. * 修改人员管理
  105. *
  106. * @param tStaffmgr 人员管理
  107. * @return 结果
  108. */
  109. public int updateTStaffmgr(TStaffmgr tStaffmgr);
  110. /**
  111. * 删除人员管理
  112. *
  113. * @param id 人员管理ID
  114. * @return 结果
  115. */
  116. public int deleteTStaffmgrById(Long id);
  117. public int deleteLeftTStaffmgrByIds(Long ids);
  118. /**
  119. * 批量删除人员管理
  120. *
  121. * @param ids 需要删除的数据ID
  122. * @return 结果
  123. */
  124. public int deleteTStaffmgrByIds(Long[] ids);
  125. @DataScope(deptAlias = "d")
  126. List<DataEntity> selectEduData(TStaffmgr param);
  127. @DataScope(deptAlias = "d")
  128. List<DataEntity> selectEngData(TStaffmgr param);
  129. @DataScope(deptAlias = "d")
  130. List<DataEntity> selectTeamData(TStaffmgr param);
  131. @DataScope(deptAlias = "d")
  132. List<DataEntity> selectAgeData(TStaffmgr param);
  133. @DataScope(deptAlias = "d")
  134. List<TStaffmgr> selectLeftTStaffmgrList(TStaffmgr tStaffmgr);
  135. int reLeftTStaffmgrByIds(Long id);
  136. List<TStaffmgr> selectTStaffmgrByPost(SysUser sysUser);
  137. List<TStaffmgr> selectTMentorStaffmgrByPost(SysUser sysUser);
  138. List<Map<String,Object>> selectUserInfoByStaffmgr(TStaffmgr tStaffmgr);
  139. int deleteRetireTStaffmgrByIds(Long id);
  140. }