package com.engine.organization.mapper.resource; import com.engine.organization.entity.hrmresource.po.ResourcePO; import com.engine.organization.entity.hrmresource.param.SearchTemplateParam; import com.engine.organization.entity.hrmresource.po.SearchTemplatePO; import com.engine.organization.entity.resume.po.HrmFamilyInfoPO; import com.engine.organization.entity.resume.po.PersonnelResumePO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @Author weaver_cl * @Description: * @Date 2022/12/15 * @Version V1.0 **/ public interface HrmResourceMapper { List selectFilterDatas(); List listByFilter(@Param("resourcePO") ResourcePO resourcePO); PersonnelResumePO getPersonnelResumeById(@Param("id") Integer id); List getPersonnelResumeList(); List getHrmFamilyInfoByUser(@Param("resourceId") Integer resourceId); /** * 获取人员过滤后的人员信息 * * @param subcompanyid1 * @param departmentid * @param jobId * @param resourceId * @return */ List getPersonnelScreening(@Param("subCompanyIds") List subcompanyid1, @Param("departmentIds") List departmentid, @Param("jobIds") List jobId, @Param("resourceIds") List resourceId); /** * 根据用户ID获取查询模板 * * @param userId * @return */ List getSearchTemplatesByUser(@Param("userId") Integer userId); SearchTemplatePO getSearchTemplateById(@Param("id") String id); Integer insertSearchTemplate(SearchTemplatePO templatePO); Integer deleteSearchTemplate(@Param("id") Integer Id, @Param("userId") Integer userId); Integer insertCustomTemplate(SearchTemplatePO templatePO); Integer deleteCustomTemplate(@Param("id") Integer Id, @Param("userId") Integer userId); }