| | |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; |
| | | import org.dromara.generator.domain.GenTableColumn; |
| | | |
| | |
| | | * 根据表名称查询列信息 |
| | | * |
| | | * @param tableName 表名称 |
| | | * @param dataName |
| | | * @param dataName 数据源名称 |
| | | * @return 列信息 |
| | | */ |
| | | @DS("#dataName") |
| | | List<GenTableColumn> selectDbTableColumnsByName(String tableName, String dataName); |
| | | List<GenTableColumn> selectDbTableColumnsByName(@Param("tableName") String tableName, String dataName); |
| | | |
| | | } |