package com.artfess.sysConfig.persistence.dao;

import com.artfess.sysConfig.model.ExcelTemp;
import com.artfess.sysConfig.vo.TableFieldVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 导入导出模板
 *
 * @author wh
 * @company rzx
 * @since 2021-08-04
 */
public interface ExcelTempDao extends BaseMapper<ExcelTemp> {

    //MySql查询数据库的表和字段
    List<TableFieldVo> getMySqlField(@Param("tableSchema") String tableSchema,@Param("tableName") String tableName);

    //PostgreSQL查询数据库的表和字段
    List<TableFieldVo> getPostgreSQLField(@Param("tableSchema") String tableSchema,@Param("tableName") String tableName);
}
