weaver-hrm-organization/src/com/engine/organization/mapper/resource/HrmResourceMapper.java

64 lines
2.0 KiB
Java
Raw Normal View History

2022-12-15 18:56:25 +08:00
package com.engine.organization.mapper.resource;
2023-01-11 14:48:24 +08:00
import com.alibaba.fastjson.JSONObject;
2022-12-15 18:56:25 +08:00
import com.engine.organization.entity.hrmresource.po.ResourcePO;
2023-01-06 15:35:38 +08:00
import com.engine.organization.entity.hrmresource.param.SearchTemplateParam;
import com.engine.organization.entity.hrmresource.po.SearchTemplatePO;
2022-12-30 10:16:48 +08:00
import com.engine.organization.entity.resume.po.HrmFamilyInfoPO;
2022-12-29 15:52:08 +08:00
import com.engine.organization.entity.resume.po.PersonnelResumePO;
2022-12-28 14:13:56 +08:00
import org.apache.ibatis.annotations.Param;
2022-12-15 18:56:25 +08:00
import java.util.List;
/**
* @Author weaver_cl
* @Description:
* @Date 2022/12/15
* @Version V1.0
**/
public interface HrmResourceMapper {
List<ResourcePO> selectFilterDatas();
2022-12-28 14:13:56 +08:00
List<ResourcePO> listByFilter(@Param("resourcePO") ResourcePO resourcePO);
2022-12-29 15:52:08 +08:00
PersonnelResumePO getPersonnelResumeById(@Param("id") Integer id);
List<PersonnelResumePO> getPersonnelResumeList();
2022-12-30 10:16:48 +08:00
List<HrmFamilyInfoPO> getHrmFamilyInfoByUser(@Param("resourceId") Integer resourceId);
2023-01-06 15:35:38 +08:00
/**
* 获取人员过滤后的人员信息
*
* @param subcompanyid1
* @param departmentid
* @param jobId
* @param resourceId
* @return
*/
2023-01-04 16:50:59 +08:00
List<ResourcePO> getPersonnelScreening(@Param("subCompanyIds") List<Integer> subcompanyid1, @Param("departmentIds") List<Integer> departmentid, @Param("jobIds") List<Long> jobId, @Param("resourceIds") List<Long> resourceId);
2023-01-06 15:35:38 +08:00
/**
* 根据用户ID获取查询模板
*
* @param userId
* @return
*/
List<SearchTemplateParam> getSearchTemplatesByUser(@Param("userId") Integer userId);
SearchTemplatePO getSearchTemplateById(@Param("id") String id);
Integer insertSearchTemplate(SearchTemplatePO templatePO);
2023-01-06 17:20:29 +08:00
Integer deleteSearchTemplate(@Param("id") Integer Id, @Param("userId") Integer userId);
2023-01-10 18:25:53 +08:00
Integer insertCustomTemplate(SearchTemplatePO templatePO);
Integer deleteCustomTemplate(@Param("id") Integer Id, @Param("userId") Integer userId);
2023-01-11 14:48:24 +08:00
List<JSONObject> queryAllResColumns(@Param("level") String level,@Param("grade") String grade);
2022-12-15 18:56:25 +08:00
}