TStaffmgrMapper.java 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. * 获取SAI验证人列表
  19. */
  20. public List<TStaffmgr> selectSaiInspectors();
  21. /**
  22. * 获取SAI整改负责人列表
  23. */
  24. public List<TStaffmgr> selectSaiExecutors();
  25. /**
  26. * 查询导师下拉列表
  27. *
  28. * @param tStaffmgr 人员管理
  29. * @return 人员管理集合
  30. */
  31. public List<TStaffmgr> selectMentorList(TStaffmgr tStaffmgr);
  32. /**
  33. * 查询人员管理
  34. *
  35. * @param staffid 人员管理员工编号
  36. * @return 人员管理
  37. */
  38. public TStaffmgr selectTStaffmgrByStaffId(String staffid);
  39. /**
  40. * 查询人员管理
  41. *
  42. * @param id 人员管理ID
  43. * @return 人员管理
  44. */
  45. public TStaffmgr selectTStaffmgrById(Long id);
  46. /**
  47. * 查询人员管理列表
  48. *
  49. * @param tStaffmgr 人员管理
  50. * @return 人员管理集合
  51. */
  52. @DataScope(deptAlias = "d")
  53. public List<TStaffmgr> selectTStaffmgrList(TStaffmgr tStaffmgr);
  54. @DataScope(deptAlias = "d")
  55. public List<TStaffmgr> selectAllTStaffmgrList(TStaffmgr tStaffmgr);
  56. public List<TStaffmgr> selectTStaffmgrListByDeptAndTeam(TStaffmgr tStaffmgr);
  57. /**
  58. * 查询人员管理列表
  59. *
  60. * @param tStaffmgr 人员管理
  61. * @return 人员管理集合
  62. */
  63. public List<TStaffmgr> selectTStaffmgrListAll(TStaffmgr tStaffmgr);
  64. /**
  65. * 定时任务查询人员管理列表
  66. *
  67. * @param tStaffmgr 人员管理
  68. * @return 人员管理集合
  69. */
  70. @DataScope(deptAlias = "d")
  71. public List<TStaffmgr> selectList(TStaffmgr tStaffmgr);
  72. List<TStaffmgr> selectTaskList(TStaffmgr tStaffmgr);
  73. /**
  74. * 培训查询人员管理列表
  75. *
  76. * @param tStaffmgr 人员管理
  77. * @return 人员管理集合
  78. */
  79. @DataScope(deptAlias = "d")
  80. public List<TStaffmgr> selectRecordList(TStaffmgr tStaffmgr);
  81. /**
  82. * 新增人员管理
  83. *
  84. * @param tStaffmgr 人员管理
  85. * @return 结果
  86. */
  87. public int insertTStaffmgr(TStaffmgr tStaffmgr);
  88. /**
  89. * 修改人员管理
  90. *
  91. * @param tStaffmgr 人员管理
  92. * @return 结果
  93. */
  94. public int updateTStaffmgr(TStaffmgr tStaffmgr);
  95. /**
  96. * 删除人员管理
  97. *
  98. * @param id 人员管理ID
  99. * @return 结果
  100. */
  101. public int deleteTStaffmgrById(Long id);
  102. public int deleteLeftTStaffmgrByIds(Long ids);
  103. /**
  104. * 批量删除人员管理
  105. *
  106. * @param ids 需要删除的数据ID
  107. * @return 结果
  108. */
  109. public int deleteTStaffmgrByIds(Long[] ids);
  110. @DataScope(deptAlias = "d")
  111. List<DataEntity> selectEduData(BaseEntity param);
  112. @DataScope(deptAlias = "d")
  113. List<DataEntity> selectEngData(BaseEntity param);
  114. @DataScope(deptAlias = "d")
  115. List<DataEntity> selectTeamData(BaseEntity param);
  116. @DataScope(deptAlias = "d")
  117. List<TStaffmgr> selectLeftTStaffmgrList(TStaffmgr tStaffmgr);
  118. int reLeftTStaffmgrByIds(Long id);
  119. List<TStaffmgr> selectTStaffmgrByPost(SysUser sysUser);
  120. List<TStaffmgr> selectTMentorStaffmgrByPost(SysUser sysUser);
  121. List<Map<String,Object>> selectUserInfoByStaffmgr(TStaffmgr tStaffmgr);
  122. int deleteRetireTStaffmgrByIds(Long id);
  123. }