package com.engine.salary.mapper.datacollection; import com.engine.salary.entity.datacollection.DataCollectionEmployee; import com.engine.salary.entity.hrm.DeptInfo; import com.engine.salary.entity.hrm.PositionInfo; import com.engine.salary.entity.hrm.SubCompanyInfo; import com.engine.salary.entity.salarysob.param.SalarySobRangeEmpQueryParam; import org.apache.ibatis.annotations.Param; import java.util.Collection; import java.util.List; public interface EmployMapper { /** * 获取所有员工 * * @return */ List listEmployee(); List getEmployeeByIds(@Param("collection") List ids); List getEmployeeByIdsAll(@Param("collection") List ids); List getAdminEmployeeByIds(@Param("collection") List list); List getEmployeeIdsByUserName(@Param("userName") String userName); /** * 根据薪资账套的人员范围转换而成的查询参数查询人员 * * @param queryParams 薪资账套的人员范围转换而成的查询参数 * @return */ List listByParams(@Param("params") Collection queryParams); DataCollectionEmployee getEmployeeById(Long employeeId); List listAllFields(); /** * 报表专用 * @return */ List listAllForReport(); List listPositionInfo(@Param("collection") List ids); List getDeptInfoList(@Param("departmentIds") List departmentIds); List getSubCompanyInfoList(@Param("subDepartmentIds") List subDepartmentIds); }