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

52 lines
1.0 KiB
Java
Raw Normal View History

2022-06-29 09:11:45 +08:00
package com.engine.organization.mapper.hrmresource;
2022-06-30 16:22:57 +08:00
import org.apache.ibatis.annotations.Param;
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
2022-10-17 17:16:26 +08:00
Long getMaxShowOrder();
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
*/
2022-10-21 15:57:55 +08:00
Long getIdByKeyField(@Param("keyField") String keyField, @Param("keyFieldValue") String keyFieldValue);
2022-07-01 14:02:03 +08:00
2022-08-11 15:14:54 +08:00
///**
// * 根据所选关键字段,查询关键列
// *
// * @param keyField
// * @return
// */
//List<JSONObject> getKeyMapByKetField(@Param("keyField") String keyField);
2022-10-14 09:13:28 +08:00
String getEcResourceId(@Param("jclResourceId") String jclResourceId);
Long getJclResourceId(@Param("ecResourceId") String ecResourceId);
2022-06-29 09:11:45 +08:00
}