diff --git a/renren-admin/src/main/java/io/renren/common/controller/CensusControllerV2.java b/renren-admin/src/main/java/io/renren/common/controller/CensusControllerV2.java index 32b9df0c..1268c4cb 100644 --- a/renren-admin/src/main/java/io/renren/common/controller/CensusControllerV2.java +++ b/renren-admin/src/main/java/io/renren/common/controller/CensusControllerV2.java @@ -432,8 +432,8 @@ public class CensusControllerV2 { GetDataResourceListDto getDataResourceListDto = new GetDataResourceListDto(); getDataResourceListDto.setPageNum(1); getDataResourceListDto.setPageSize(5); - JSONObject dataResource = (JSONObject) tsingtaoDataResourceService.getDataResource(getDataResourceListDto); - JSONObject data = dataResource.getJSONObject("data"); + HashMap dataResource = (HashMap) tsingtaoDataResourceService.getDataResource(getDataResourceListDto); + JSONObject data = JSON.parseObject(JSON.toJSONString(dataResource.get("data"))); result.add(new HashMap() { { put("amount", data.get("rows"));