package com.ruoyi.project.plant.service; import com.ruoyi.framework.aspectj.lang.annotation.DataScope; import com.ruoyi.project.plant.domain.TStaffmgr; import com.ruoyi.project.system.domain.SysUser; import java.util.List; /** * 人员管理Service接口 * * @author ruoyi * @date 2020-11-25 */ public interface ITStaffmgrService { /** * 查询导师下拉列表 * * @param tStaffmgr 人员管理 * @return 人员管理集合 */ @DataScope(deptAlias = "d") public List selectMentorList(TStaffmgr tStaffmgr); /** * 查询人员管理 * * @param staffid 人员管理员工编号 * @return 人员管理 */ public TStaffmgr selectTStaffmgrByStaffId(String staffid); /** * 查询人员管理 * * @param id 人员管理ID * @return 人员管理 */ public TStaffmgr selectTStaffmgrById(Long id); /** * 查询人员管理列表 * * @param tStaffmgr 人员管理 * @return 人员管理集合 */ public List selectTStaffmgrList(TStaffmgr tStaffmgr); public List selectAllTStaffmgrList(TStaffmgr tStaffmgr); /** * 定时任务查询人员管理列表 * * @param tStaffmgr 人员管理 * @return 人员管理集合 */ public List selectList(TStaffmgr tStaffmgr); List selectTaskList(TStaffmgr tStaffmgr); /** * 培训查询人员管理列表 * * @param tStaffmgr 人员管理 * @return 人员管理集合 */ public List selectRecordList(TStaffmgr tStaffmgr); /** * 新增人员管理 * * @param tStaffmgr 人员管理 * @return 结果 */ public int insertTStaffmgr(TStaffmgr tStaffmgr); /** * 修改人员管理 * * @param tStaffmgr 人员管理 * @return 结果 */ public int updateTStaffmgr(TStaffmgr tStaffmgr); /** * 批量删除人员管理 * * @param ids 需要删除的人员管理ID * @return 结果 */ public int deleteTStaffmgrByIds(Long[] ids); /** * 删除人员管理信息 * * @param id 人员管理ID * @return 结果 */ public int deleteTStaffmgrById(Long id); public int deleteLeftTStaffmgrByIds(Long ids); List selectLeftTStaffmgrList(TStaffmgr tStaffmgr); int reLeftTStaffmgrByIds(Long id); List selectTStaffmgrByPost(SysUser sysUser); List selectTMentorStaffmgrByPost(SysUser sysUser); int deleteRetireTStaffmgrByIds(Long id); }