weaver-hrm-organization/src/com/engine/organization/mapper/extend/ExtMapper.java

47 lines
838 B
Java
Raw Normal View History

package com.engine.organization.mapper.extend;
2022-06-23 16:55:26 +08:00
import com.engine.organization.entity.extend.param.ExtendInfoParams;
import java.util.Map;
/**
2022-06-14 11:07:48 +08:00
* @description:
* @author:dxfeng
* @createTime: 2022/05/20
* @version: 1.0
*/
public interface ExtMapper {
/**
* 根据主表id,查询主表拓展表数据
*
2022-06-23 16:55:26 +08:00
* @param params
* @return
*/
2022-06-23 16:55:26 +08:00
Map<String, Object> listExt(ExtendInfoParams params);
2022-05-20 17:34:18 +08:00
/**
* 判断当前数据是否存在
*
2022-06-23 16:55:26 +08:00
* @param params
2022-05-20 17:34:18 +08:00
* @return
*/
2022-06-23 16:55:26 +08:00
int countExtById(ExtendInfoParams params);
2022-05-20 17:34:18 +08:00
/**
* 插入主表拓展表
*
2022-06-23 16:55:26 +08:00
* @param params
2022-05-20 17:34:18 +08:00
* @return
*/
2022-06-23 16:55:26 +08:00
int insertExt(ExtendInfoParams params);
2022-05-20 17:34:18 +08:00
/**
* 更新主表拓展表
*
2022-06-23 16:55:26 +08:00
* @param params
2022-05-20 17:34:18 +08:00
* @return
*/
2022-06-23 16:55:26 +08:00
int updateExt(ExtendInfoParams params);
}