You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weaver-hrm-organization/src/com/engine/organization/mapper/hrmresource/SystemDataMapper.java

60 lines
1.7 KiB
Java

3 years ago
package com.engine.organization.mapper.hrmresource;
3 years ago
import com.engine.organization.entity.commom.RecordInfo;
3 years ago
import com.engine.organization.entity.jclimport.po.CusFormFieldPO;
import com.engine.organization.entity.jclimport.po.JclSelectItem;
import org.apache.ibatis.annotations.Param;
3 years ago
import java.util.Collection;
3 years ago
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);
3 years ago
RecordInfo getHrmObjectByID(@Param("tableName") String tableName, @Param("id") String id);
3 years ago
3 years ago
RecordInfo getHrmObjectByUUID(@Param("tableName") String tableName, @Param("uuid") String uuid);
3 years ago
RecordInfo getHrmJobTitleByName(@Param("name") String name);
List<Long> getHrmResourceIds(@Param("departmentId") Long departmentId, @Param("jobTitle") String jobTitle);
List<Long> getHrmResourceIdsByDept(@Param("departmentId") String departmentId);
/**
*
*
* @param jobTitle
* @param ids
* @return
*/
int updateResourceJobTitleByIds(@Param("jobTitle") String jobTitle, @Param("ids") Collection<Long> ids);
3 years ago
/**
* hrmResource
*
* @return
*/
List<CusFormFieldPO> getHrmFieldBeanList();
List<CusFormFieldPO> getHrmFieldBeanListByFields(@Param("fields") Collection<String> fields);
List<CusFormFieldPO> getHrmCustomFieldList();
List<JclSelectItem> getSelectItems(@Param("tableName") String tableName, @Param("fieldId") Long fieldId);
3 years ago
Long getHrmResourceMaxId();
3 years ago
}