|
|
@ -53,7 +53,7 @@ public class DataSourceService { |
|
|
|
for (TableAuthVO tableAuthVO : sqlVO.getTableAuthVOList()) { |
|
|
|
for (TableAuthVO tableAuthVO : sqlVO.getTableAuthVOList()) { |
|
|
|
// 查询改数据源下的表格是否存在鉴权
|
|
|
|
// 查询改数据源下的表格是否存在鉴权
|
|
|
|
LambdaQueryWrapper<TablePropertyEntity> wrapper = Wrappers.<TablePropertyEntity>lambdaQuery() |
|
|
|
LambdaQueryWrapper<TablePropertyEntity> wrapper = Wrappers.<TablePropertyEntity>lambdaQuery() |
|
|
|
.eq(TablePropertyEntity::getDatasourceId, tableAuthVO.getDatasourceName()) |
|
|
|
//.eq(TablePropertyEntity::getDatasourceId, tableAuthVO.getDatasourceName())
|
|
|
|
.eq(TablePropertyEntity::getTableName, tableAuthVO.getTableName()); |
|
|
|
.eq(TablePropertyEntity::getTableName, tableAuthVO.getTableName()); |
|
|
|
List<TablePropertyEntity> propertise = tablePropertyService.list(wrapper); |
|
|
|
List<TablePropertyEntity> propertise = tablePropertyService.list(wrapper); |
|
|
|
Assert.isTrue(Func.isNotEmpty(propertise), () -> { |
|
|
|
Assert.isTrue(Func.isNotEmpty(propertise), () -> { |
|
|
|