weaver-hrm-organization/src/com/engine/organization/mapper/hrmresource/SystemDataMapper.java

63 lines
1.8 KiB
Java
Raw Normal View History

2022-07-01 14:02:03 +08:00
package com.engine.organization.mapper.hrmresource;
2022-08-11 15:14:54 +08:00
import com.engine.organization.entity.commom.RecordInfo;
2022-07-29 16:20:59 +08:00
import com.engine.organization.entity.jclimport.po.CusFormFieldPO;
import com.engine.organization.entity.jclimport.po.JclSelectItem;
import org.apache.ibatis.annotations.Param;
2022-07-01 14:02:03 +08:00
2022-07-15 09:02:18 +08:00
import java.util.Collection;
2022-07-01 14:02:03 +08:00
import java.util.List;
2022-10-27 14:38:06 +08:00
import java.util.Map;
2022-07-01 14:02:03 +08:00
/**
* @author:dxfeng
* @createTime: 2022/06/30
* @version: 1.0
*/
public interface SystemDataMapper {
String getScCompanyNameById(@Param("companyId") String companyId);
2022-10-27 14:38:06 +08:00
List<Map<String,Object>> getBrowserDatas(@Param("ids") Collection<Long> ids);
String getScDepartmentNameById(@Param("departmentId") String departmentId);
String getScHrmResourceNameById(@Param("managerId") String managerId);
2022-07-12 16:38:27 +08:00
2022-08-11 15:14:54 +08:00
RecordInfo getHrmObjectByID(@Param("tableName") String tableName, @Param("id") String id);
2022-07-13 10:55:44 +08:00
2022-08-11 15:14:54 +08:00
RecordInfo getHrmObjectByUUID(@Param("tableName") String tableName, @Param("uuid") String uuid);
2022-07-12 16:38:27 +08:00
2022-08-11 15:14:54 +08:00
RecordInfo getHrmJobTitleByName(@Param("name") String name);
2022-07-15 09:02:18 +08:00
List<Long> getHrmResourceIds(@Param("departmentId") Long departmentId, @Param("jobTitle") String jobTitle);
2022-09-08 15:36:47 +08:00
List<Long> getHrmResourceIdsByDept(@Param("departmentId") String departmentId);
2022-07-15 09:02:18 +08:00
/**
* 更新人员岗位
*
* @param jobTitle
* @param ids
* @return
*/
int updateResourceJobTitleByIds(@Param("jobTitle") String jobTitle, @Param("ids") Collection<Long> ids);
2022-07-12 16:38:27 +08:00
2022-07-29 16:20:59 +08:00
/**
* 人员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);
2022-08-10 15:25:34 +08:00
Long getHrmResourceMaxId();
2022-07-01 14:02:03 +08:00
}