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