package com.lf.server.mapper.all;
|
|
import com.lf.server.entity.ctrl.IdNameEntity;
|
import com.lf.server.entity.ctrl.TabEntity;
|
import com.lf.server.entity.data.DictEntity;
|
import com.lf.server.entity.data.DomainEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
/**
|
* 父查询Mapper
|
* @author WWW
|
*/
|
@Mapper
|
@Repository
|
public interface BaseQueryMapper {
|
/**
|
* 模糊搜索用户
|
*
|
* @param name 用户名
|
* @return 实体类集合
|
*/
|
public List<IdNameEntity> selectUserFuzzy(String name);
|
|
/**
|
* 模糊搜索单位
|
*
|
* @param name 单位名
|
* @return 实体类集合
|
*/
|
public List<IdNameEntity> selectDepFuzzy(String name);
|
|
/**
|
* 查询所有表
|
*
|
* @return
|
*/
|
public List<TabEntity> selectTabs();
|
|
/**
|
* 查询字段信息
|
*
|
* @param ns 名称空间
|
* @param tab 表名
|
* @return 实体类集合
|
*/
|
public List<DictEntity> selectFields(String ns, String tab);
|
|
/**
|
* 查询值域信息
|
*
|
* @param ns 名称空间
|
* @param tab 表名
|
* @return 实体类集合
|
*/
|
public List<DomainEntity> selectDomains(String ns, String tab);
|
}
|