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

48 lines
935 B
Java
Raw Normal View History

2022-06-29 09:11:45 +08:00
package com.engine.organization.mapper.hrmresource;
2022-07-01 14:02:03 +08:00
import com.alibaba.fastjson.JSONObject;
2022-06-30 16:22:57 +08:00
import org.apache.ibatis.annotations.Param;
2022-07-01 14:02:03 +08:00
import java.util.List;
2022-06-29 09:11:45 +08:00
/**
* @description:
* @author:dxfeng
* @createTime: 2022/05/20
* @version: 1.0
*/
public interface HrmResourceMapper {
2022-06-30 16:22:57 +08:00
/**
* 获取最大ID
*
* @return
*/
2022-06-29 09:11:45 +08:00
Long getMaxId();
2022-06-30 16:22:57 +08:00
/**
* 根据ID查询姓名
*
* @param id
* @return
*/
String getLastNameById(@Param("id") Long id);
2022-07-01 14:02:03 +08:00
/**
* 根据所选关键字段查询ID
*
* @param keyField
* @param keyFieldValue
* @return
*/
Integer getIdByKeyField(@Param("keyField") String keyField, @Param("keyFieldValue") String keyFieldValue);
/**
* 根据所选关键字段查询关键列
*
* @param keyField
* @return
*/
List<JSONObject> getKeyMapByKetField(@Param("keyField") String keyField);
2022-06-29 09:11:45 +08:00
}