市局对接数据资源

This commit is contained in:
dinggang 2022-06-24 10:29:34 +08:00
parent 162e2ec97f
commit aefa138f22
1 changed files with 2 additions and 2 deletions

View File

@ -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<String, Object>() {
{
put("amount", data.get("rows"));