TStaffmgrMapper.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. package com.ruoyi.project.plant.mapper;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
  5. import com.ruoyi.project.common.domain.DataEntity;
  6. import com.ruoyi.project.plant.domain.TStaffmgr;
  7. /**
  8. * 人员管理Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2020-11-25
  12. */
  13. public interface TStaffmgrMapper
  14. {
  15. /**
  16. * 查询人员管理
  17. *
  18. * @param staffid 人员管理员工编号
  19. * @return 人员管理
  20. */
  21. public TStaffmgr selectTStaffmgrByStaffId(String staffid);
  22. /**
  23. * 查询人员管理
  24. *
  25. * @param id 人员管理ID
  26. * @return 人员管理
  27. */
  28. public TStaffmgr selectTStaffmgrById(Long id);
  29. /**
  30. * 查询人员管理列表
  31. *
  32. * @param tStaffmgr 人员管理
  33. * @return 人员管理集合
  34. */
  35. @DataScope(deptAlias = "d")
  36. public List<TStaffmgr> selectTStaffmgrList(TStaffmgr tStaffmgr);
  37. /**
  38. * 定时任务查询人员管理列表
  39. *
  40. * @param tStaffmgr 人员管理
  41. * @return 人员管理集合
  42. */
  43. public List<TStaffmgr> selectList(TStaffmgr tStaffmgr);
  44. /**
  45. * 培训查询人员管理列表
  46. *
  47. * @param tStaffmgr 人员管理
  48. * @return 人员管理集合
  49. */
  50. public List<TStaffmgr> selectRecordList(TStaffmgr tStaffmgr);
  51. /**
  52. * 新增人员管理
  53. *
  54. * @param tStaffmgr 人员管理
  55. * @return 结果
  56. */
  57. public int insertTStaffmgr(TStaffmgr tStaffmgr);
  58. /**
  59. * 修改人员管理
  60. *
  61. * @param tStaffmgr 人员管理
  62. * @return 结果
  63. */
  64. public int updateTStaffmgr(TStaffmgr tStaffmgr);
  65. /**
  66. * 删除人员管理
  67. *
  68. * @param id 人员管理ID
  69. * @return 结果
  70. */
  71. public int deleteTStaffmgrById(Long id);
  72. public int deleteLeftTStaffmgrByIds(Long ids);
  73. /**
  74. * 批量删除人员管理
  75. *
  76. * @param ids 需要删除的数据ID
  77. * @return 结果
  78. */
  79. public int deleteTStaffmgrByIds(Long[] ids);
  80. @DataScope(deptAlias = "d")
  81. List<DataEntity> selectEduData(Map param);
  82. List<DataEntity> selectEngData(Map param);
  83. List<DataEntity> selectTeamData(Map param);
  84. List<TStaffmgr> selectLeftTStaffmgrList(TStaffmgr tStaffmgr);
  85. int reLeftTStaffmgrByIds(Long id);
  86. }