|
|
|
@ -149,13 +149,11 @@ public class MetadataServiceImpl extends BaseServiceImpl<MetadataBasicMapper, Me |
|
|
|
|
return new Page<>(); |
|
|
|
|
} |
|
|
|
|
String sql = MetadataUtils.generateSql(metadataBasic, dataSource); |
|
|
|
|
List<HashMap<String, Object>> list = dynamicDatasourceMapper.page(new Page<>(1, 10), sql).getRecords(); |
|
|
|
|
Page<HashMap<String, Object>> page = new Page<>(1, 10); |
|
|
|
|
page = dynamicDatasourceMapper.page(page, sql); |
|
|
|
|
|
|
|
|
|
// 处理Clob类型
|
|
|
|
|
covertClobFieldType(page.getRecords()); |
|
|
|
|
|
|
|
|
|
page.setTotal(list.size()); |
|
|
|
|
return page; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|