SysTableFieldInfoMapper.java 639 Bytes
package com.huaheng.pc.system.systable.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.system.systable.domain.SysTableFieldInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Enzo Cotter on 2020/3/21.
 */

public interface SysTableFieldInfoMapper extends BaseMapper<SysTableFieldInfo> {

    /**
     * 查询表中所有字段信息
     * @param tableName 表名
     * @param schema 数据库名
     * @return
     */
    List<Map<String, Object>> getColumnName(@Param("tableName") String tableName, @Param("schema")String schema);
}