1.修复金宏环境-能力统计-资源图谱-能力类型-能力集-按照数据资源查数据接口调用错误
This commit is contained in:
parent
c950efc96e
commit
81b5b28743
|
@ -308,7 +308,7 @@ public class CensusController {
|
||||||
} catch (JsonProcessingException e) {
|
} catch (JsonProcessingException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}).reversed().thenComparing(i -> i.toString())
|
}).reversed().thenComparing(Object::toString)
|
||||||
); // 按应用领域数目逆序排序
|
); // 按应用领域数目逆序排序
|
||||||
return new Result<List<Map<String, Object>>>().ok(result);
|
return new Result<List<Map<String, Object>>>().ok(result);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1077,7 +1077,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
||||||
return resourceList;
|
return resourceList;
|
||||||
} else if ("数据资源".equals(type)) {
|
} else if ("数据资源".equals(type)) {
|
||||||
GetDataResourceListDto dto = new GetDataResourceListDto();
|
GetDataResourceListDto dto = new GetDataResourceListDto();
|
||||||
dto.setPageNum(0);
|
dto.setPageNum(1);
|
||||||
dto.setPageSize(30);
|
dto.setPageSize(30);
|
||||||
Optional<AbstractDataResourceService> factory = DataResourceFactory.build();
|
Optional<AbstractDataResourceService> factory = DataResourceFactory.build();
|
||||||
if (factory.isPresent()) {
|
if (factory.isPresent()) {
|
||||||
|
|
Loading…
Reference in New Issue