package com.engine.organization.mapper.hrmresource; import com.engine.organization.entity.commom.RecordInfo; import com.engine.organization.entity.jclimport.po.CusFormFieldPO; import com.engine.organization.entity.jclimport.po.JclSelectItem; import org.apache.ibatis.annotations.Param; import java.util.Collection; import java.util.List; /** * @author:dxfeng * @createTime: 2022/06/30 * @version: 1.0 */ public interface SystemDataMapper { String getScCompanyNameById(@Param("companyId") String companyId); String getScDepartmentNameById(@Param("departmentId") String departmentId); String getScHrmResourceNameById(@Param("managerId") String managerId); RecordInfo getHrmObjectByID(@Param("tableName") String tableName, @Param("id") String id); RecordInfo getHrmObjectByUUID(@Param("tableName") String tableName, @Param("uuid") String uuid); RecordInfo getHrmJobTitleByName(@Param("name") String name); List getHrmResourceIds(@Param("departmentId") Long departmentId, @Param("jobTitle") String jobTitle); List getHrmResourceIdsByDept(@Param("departmentId") String departmentId); /** * 更新人员岗位 * * @param jobTitle * @param ids * @return */ int updateResourceJobTitleByIds(@Param("jobTitle") String jobTitle, @Param("ids") Collection ids); /** * 人员,hrmResource表字段 * * @return */ List getHrmFieldBeanList(); List getHrmFieldBeanListByFields(@Param("fields") Collection fields); List getHrmCustomFieldList(); List getSelectItems(@Param("tableName") String tableName, @Param("fieldId") Long fieldId); Long getHrmResourceMaxId(); }