| | |
| | | package org.dromara.generator.mapper; |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; |
| | |
| | | */ |
| | | @InterceptorIgnore(dataPermission = "true", tenantLine = "true") |
| | | public interface GenTableMapper extends BaseMapperPlus<GenTable, GenTable> { |
| | | |
| | | /** |
| | | * 查询据库列表 |
| | | * |
| | | * @param genTable 查询条件 |
| | | * @return 数据库表集合 |
| | | */ |
| | | Page<GenTable> selectPageDbTableList(@Param("page") Page<GenTable> page, @Param("genTable") GenTable genTable); |
| | | |
| | | /** |
| | | * 查询据库列表 |
| | | * |
| | | * @param tableNames 表名称组 |
| | | * @return 数据库表集合 |
| | | */ |
| | | List<GenTable> selectDbTableListByNames(String[] tableNames); |
| | | |
| | | /** |
| | | * 查询所有表信息 |
| | |
| | | */ |
| | | GenTable selectGenTableByName(String tableName); |
| | | |
| | | @DS("") |
| | | List<String> selectTableNameList(String dataName); |
| | | } |