ITStaffmgrService.java 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. package com.ruoyi.project.plant.service;
  2. import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
  3. import com.ruoyi.project.plant.domain.TStaffmgr;
  4. import com.ruoyi.project.system.domain.SysUser;
  5. import java.util.List;
  6. /**
  7. * 人员管理Service接口
  8. *
  9. * @author ruoyi
  10. * @date 2020-11-25
  11. */
  12. public interface ITStaffmgrService
  13. {
  14. /**
  15. * 查询导师下拉列表
  16. *
  17. * @param tStaffmgr 人员管理
  18. * @return 人员管理集合
  19. */
  20. @DataScope(deptAlias = "d")
  21. public List<TStaffmgr> selectMentorList(TStaffmgr tStaffmgr);
  22. /**
  23. * 查询人员管理
  24. *
  25. * @param staffid 人员管理员工编号
  26. * @return 人员管理
  27. */
  28. public TStaffmgr selectTStaffmgrByStaffId(String staffid);
  29. /**
  30. * 查询人员管理
  31. *
  32. * @param id 人员管理ID
  33. * @return 人员管理
  34. */
  35. public TStaffmgr selectTStaffmgrById(Long id);
  36. /**
  37. * 查询人员管理列表
  38. *
  39. * @param tStaffmgr 人员管理
  40. * @return 人员管理集合
  41. */
  42. public List<TStaffmgr> selectTStaffmgrList(TStaffmgr tStaffmgr);
  43. public List<TStaffmgr> selectAllTStaffmgrList(TStaffmgr tStaffmgr);
  44. public List<TStaffmgr> selectUserInfoByStaffmgr(TStaffmgr tStaffmgr);
  45. /**
  46. * 查询人员管理列表(无数据权限过滤,供定时任务使用)
  47. *
  48. * @param tStaffmgr 人员管理
  49. * @return 人员管理集合
  50. */
  51. public List<TStaffmgr> selectAllTStaffmgrListWithoutScope(TStaffmgr tStaffmgr);
  52. public List<TStaffmgr> selectTStaffmgrListByDeptAndTeam(TStaffmgr tStaffmgr);
  53. public List<TStaffmgr> selectStaffByMonitor(TStaffmgr tStaffmgr);
  54. /**
  55. * 定时任务查询人员管理列表
  56. *
  57. * @param tStaffmgr 人员管理
  58. * @return 人员管理集合
  59. */
  60. public List<TStaffmgr> selectList(TStaffmgr tStaffmgr);
  61. List<TStaffmgr> selectTaskList(TStaffmgr tStaffmgr);
  62. /**
  63. * 培训查询人员管理列表
  64. *
  65. * @param tStaffmgr 人员管理
  66. * @return 人员管理集合
  67. */
  68. public List<TStaffmgr> selectRecordList(TStaffmgr tStaffmgr);
  69. /**
  70. * 新增人员管理
  71. *
  72. * @param tStaffmgr 人员管理
  73. * @return 结果
  74. */
  75. public int insertTStaffmgr(TStaffmgr tStaffmgr);
  76. /**
  77. * 修改人员管理
  78. *
  79. * @param tStaffmgr 人员管理
  80. * @return 结果
  81. */
  82. public int updateTStaffmgr(TStaffmgr tStaffmgr);
  83. /**
  84. * 批量删除人员管理
  85. *
  86. * @param ids 需要删除的人员管理ID
  87. * @return 结果
  88. */
  89. public int deleteTStaffmgrByIds(Long[] ids);
  90. /**
  91. * 删除人员管理信息
  92. *
  93. * @param id 人员管理ID
  94. * @return 结果
  95. */
  96. public int deleteTStaffmgrById(Long id);
  97. public int deleteLeftTStaffmgrByIds(Long ids);
  98. List<TStaffmgr> selectLeftTStaffmgrList(TStaffmgr tStaffmgr);
  99. int reLeftTStaffmgrByIds(Long id);
  100. List<TStaffmgr> selectTStaffmgrByPost(SysUser sysUser);
  101. List<TStaffmgr> selectTMentorStaffmgrByPost(SysUser sysUser);
  102. int deleteRetireTStaffmgrByIds(Long id);
  103. /**
  104. * 获取SAI验证人列表
  105. */
  106. public List<TStaffmgr> selectSaiInspectors();
  107. /**
  108. * 获取SAI整改负责人列表
  109. */
  110. public List<TStaffmgr> selectSaiExecutors();
  111. /**
  112. * 获取EOEG SAI验证人列表
  113. */
  114. public List<TStaffmgr> selectEoegSaiInspectors();
  115. /**
  116. * 获取EOEG SAI整改负责人列表
  117. */
  118. public List<TStaffmgr> selectEoegSaiExecutors();
  119. /**
  120. * 获取EOEG SAI评估人列表
  121. */
  122. public List<TStaffmgr> selectEoegSaiAssessors();
  123. }