package com.ruoyi.project.plant.mapper; import java.util.List; import java.util.Map; import com.ruoyi.framework.aspectj.lang.annotation.DataScope; import com.ruoyi.project.common.domain.DataEntity; import com.ruoyi.project.plant.domain.TStaffmgr; /** * 人员管理Mapper接口 * * @author ruoyi * @date 2020-11-25 */ public interface TStaffmgrMapper { /** * 查询人员管理 * * @param staffid 人员管理员工编号 * @return 人员管理 */ public TStaffmgr selectTStaffmgrByStaffId(String staffid); /** * 查询人员管理 * * @param id 人员管理ID * @return 人员管理 */ public TStaffmgr selectTStaffmgrById(Long id); /** * 查询人员管理列表 * * @param tStaffmgr 人员管理 * @return 人员管理集合 */ @DataScope(deptAlias = "d") public List selectTStaffmgrList(TStaffmgr tStaffmgr); /** * 定时任务查询人员管理列表 * * @param tStaffmgr 人员管理 * @return 人员管理集合 */ public List selectList(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 id 人员管理ID * @return 结果 */ public int deleteTStaffmgrById(Long id); public int deleteLeftTStaffmgrByIds(Long ids); /** * 批量删除人员管理 * * @param ids 需要删除的数据ID * @return 结果 */ public int deleteTStaffmgrByIds(Long[] ids); @DataScope(deptAlias = "d") List selectEduData(Map param); List selectEngData(Map param); List selectTeamData(Map param); List selectLeftTStaffmgrList(TStaffmgr tStaffmgr); int reLeftTStaffmgrByIds(Long id); }