package com.engine.organization.mapper.resource; import com.engine.organization.entity.hrmresource.po.HrmResourcePO; import com.engine.organization.entity.hrmresource.vo.HrmResourceVO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @Author weaver_cl * @Description: * @Date 2022/6/28 * @Version V1.0 **/ public interface ResourceMapper { List listAll(@Param("ids")List ids); List getResourceListByJobId(@Param("jobId") Long jobId); int updateResourceJob(@Param("originalJobId") Long originalJobId, @Param("targetJobId") Long targetJobId, @Param("parentComp") Long parentComp, @Param("parentDept") Long parentDept, @Param("ecCompany") Long ecCompany, @Param("ecDepartment") Long ecDepartment); HrmResourcePO getResourceById(@Param("id") String id); List listByNo(@Param("workCode") String workCode); }