ITStaffmgrService.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. /**
  45. * 定时任务查询人员管理列表
  46. *
  47. * @param tStaffmgr 人员管理
  48. * @return 人员管理集合
  49. */
  50. public List<TStaffmgr> selectList(TStaffmgr tStaffmgr);
  51. List<TStaffmgr> selectTaskList(TStaffmgr tStaffmgr);
  52. /**
  53. * 培训查询人员管理列表
  54. *
  55. * @param tStaffmgr 人员管理
  56. * @return 人员管理集合
  57. */
  58. public List<TStaffmgr> selectRecordList(TStaffmgr tStaffmgr);
  59. /**
  60. * 新增人员管理
  61. *
  62. * @param tStaffmgr 人员管理
  63. * @return 结果
  64. */
  65. public int insertTStaffmgr(TStaffmgr tStaffmgr);
  66. /**
  67. * 修改人员管理
  68. *
  69. * @param tStaffmgr 人员管理
  70. * @return 结果
  71. */
  72. public int updateTStaffmgr(TStaffmgr tStaffmgr);
  73. /**
  74. * 批量删除人员管理
  75. *
  76. * @param ids 需要删除的人员管理ID
  77. * @return 结果
  78. */
  79. public int deleteTStaffmgrByIds(Long[] ids);
  80. /**
  81. * 删除人员管理信息
  82. *
  83. * @param id 人员管理ID
  84. * @return 结果
  85. */
  86. public int deleteTStaffmgrById(Long id);
  87. public int deleteLeftTStaffmgrByIds(Long ids);
  88. List<TStaffmgr> selectLeftTStaffmgrList(TStaffmgr tStaffmgr);
  89. int reLeftTStaffmgrByIds(Long id);
  90. List<TStaffmgr> selectTStaffmgrByPost(SysUser sysUser);
  91. List<TStaffmgr> selectTMentorStaffmgrByPost(SysUser sysUser);
  92. int deleteRetireTStaffmgrByIds(Long id);
  93. }