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

78 lines
2.2 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;
import com.engine.organization.entity.cusfielddata.po.CusFieldData;
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;
/**
* @author:dxfeng
* @createTime: 2022/06/30
* @version: 1.0
*/
public interface SystemDataMapper {
2022-08-11 15:14:54 +08:00
//JSONObject getSysLanguageByLicense();
2022-07-01 14:02:03 +08:00
2022-08-11 15:14:54 +08:00
//List<JSONObject> getSysLanguageByActivable();
2022-07-01 14:02:03 +08:00
2022-08-11 15:14:54 +08:00
//List<JSONObject> getHrmEducationLevelData();
2022-07-01 14:02:03 +08:00
2022-08-11 15:14:54 +08:00
//List<JSONObject> getHrmJobCallData();
2022-07-01 14:02:03 +08:00
2022-08-11 15:14:54 +08:00
//List<JSONObject> getHrmLocationsByCountryId();
2022-07-01 14:02:03 +08:00
2022-08-11 15:14:54 +08:00
//List<JSONObject> getHrmUseKindData();
String getScCompanyNameById(@Param("companyId") String companyId);
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);
/**
* 更新人员岗位
*
* @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);
CusFieldData getHrmCusFieldDataByIdAndScopeId(@Param("id") Long id, @Param("scopeId") Long scopeId);
int insertCusFieldData(CusFieldData cusFieldData);
int updateCusFieldData(CusFieldData cusFieldData);
2022-08-10 15:25:34 +08:00
Long getHrmResourceMaxId();
2022-07-01 14:02:03 +08:00
}