2022-03-10 17:57:46 +08:00
|
|
|
package com.engine.salary.mapper.datacollection;
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.DataCollectionEmployee;
|
2022-05-24 09:14:26 +08:00
|
|
|
import com.engine.salary.entity.hrm.DeptInfo;
|
2022-03-23 18:41:38 +08:00
|
|
|
import com.engine.salary.entity.hrm.PositionInfo;
|
2022-05-24 09:14:26 +08:00
|
|
|
import com.engine.salary.entity.hrm.SubCompanyInfo;
|
2022-04-07 16:54:10 +08:00
|
|
|
import com.engine.salary.entity.salarysob.param.SalarySobRangeEmpQueryParam;
|
2022-03-10 17:57:46 +08:00
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
2022-04-07 16:54:10 +08:00
|
|
|
import java.util.Collection;
|
2022-03-10 17:57:46 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Mapper
|
|
|
|
|
public interface EmployMapper {
|
2022-05-24 09:14:26 +08:00
|
|
|
/**
|
|
|
|
|
* 获取所有员工
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<DataCollectionEmployee> listEmployee();
|
2022-03-10 17:57:46 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
List<DataCollectionEmployee> getEmployeeByIds(@Param("collection") List<Long> ids);
|
2022-03-15 17:39:19 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
List<DataCollectionEmployee> getEmployeeByIdsAll(@Param("collection") List<Long> ids);
|
2022-03-15 17:39:19 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
List<DataCollectionEmployee> getAdminEmployeeByIds(@Param("collection") List<Long> list);
|
2022-04-07 11:39:22 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
List<DataCollectionEmployee> getEmployeeIdsByUserName(@Param("userName") String userName);
|
2022-04-07 16:54:10 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
/**
|
|
|
|
|
* 根据薪资账套的人员范围转换而成的查询参数查询人员
|
|
|
|
|
*
|
|
|
|
|
* @param queryParams 薪资账套的人员范围转换而成的查询参数
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<DataCollectionEmployee> listByParams(@Param("params") Collection<SalarySobRangeEmpQueryParam> queryParams);
|
2022-04-12 19:29:19 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
DataCollectionEmployee getEmployeeById(Long employeeId);
|
2022-04-08 19:08:59 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
List<DataCollectionEmployee> listAll();
|
2022-05-18 09:19:50 +08:00
|
|
|
|
2022-05-24 09:14:26 +08:00
|
|
|
List<PositionInfo> listPositionInfo(@Param("collection") List<Long> ids);
|
|
|
|
|
|
|
|
|
|
List<DeptInfo> getDeptInfoList(@Param("departmentIds") List<Long> departmentIds);
|
|
|
|
|
|
|
|
|
|
List<SubCompanyInfo> getSubCompanyInfoList(List<Long> subDepartmentIds);
|
2022-03-10 17:57:46 +08:00
|
|
|
}
|