市局对接数据资源
This commit is contained in:
parent
162e2ec97f
commit
aefa138f22
|
@ -432,8 +432,8 @@ public class CensusControllerV2 {
|
||||||
GetDataResourceListDto getDataResourceListDto = new GetDataResourceListDto();
|
GetDataResourceListDto getDataResourceListDto = new GetDataResourceListDto();
|
||||||
getDataResourceListDto.setPageNum(1);
|
getDataResourceListDto.setPageNum(1);
|
||||||
getDataResourceListDto.setPageSize(5);
|
getDataResourceListDto.setPageSize(5);
|
||||||
JSONObject dataResource = (JSONObject) tsingtaoDataResourceService.getDataResource(getDataResourceListDto);
|
HashMap dataResource = (HashMap) tsingtaoDataResourceService.getDataResource(getDataResourceListDto);
|
||||||
JSONObject data = dataResource.getJSONObject("data");
|
JSONObject data = JSON.parseObject(JSON.toJSONString(dataResource.get("data")));
|
||||||
result.add(new HashMap<String, Object>() {
|
result.add(new HashMap<String, Object>() {
|
||||||
{
|
{
|
||||||
put("amount", data.get("rows"));
|
put("amount", data.get("rows"));
|
||||||
|
|
Loading…
Reference in New Issue