You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
954 B
Java
48 lines
954 B
Java
package com.engine.organization.mapper.extend;
|
|
|
|
import com.engine.organization.entity.extend.po.ExtendGroupPO;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @description: TODO
|
|
* @author:dxfeng
|
|
* @createTime: 2022/05/18
|
|
* @version: 1.0
|
|
*/
|
|
public interface ExtendGroupMapper {
|
|
/**
|
|
* 列表查询
|
|
*
|
|
* @param extendType
|
|
* @return
|
|
*/
|
|
List<ExtendGroupPO> listByType(@Param("extendType") String extendType);
|
|
|
|
/**
|
|
* 根据ID 查询数据
|
|
*
|
|
* @param ids
|
|
* @return
|
|
*/
|
|
List<ExtendGroupPO> listGroupByIds(@Param("ids") Collection<Long> ids);
|
|
|
|
/**
|
|
* 根据ID 查询数据
|
|
*
|
|
* @param pid
|
|
* @return
|
|
*/
|
|
List<ExtendGroupPO> listGroupByPid(@Param("pid") Long pid);
|
|
|
|
/**
|
|
* 根据ID查询分组名称
|
|
*
|
|
* @param id
|
|
* @return
|
|
*/
|
|
String getGroupNameById(@Param("id") String id);
|
|
}
|