数据资源统计修改

This commit is contained in:
dinggang 2022-06-24 20:22:31 +08:00
parent f4d0001b85
commit dfd3cbadb6
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
HashMap dataResource = (HashMap) tsingtaoDataResourceService.getDataResource(getDataResourceListDto); HashMap dataResource = (HashMap) tsingtaoDataResourceService.getDataResource(getDataResourceListDto);
re.add(new HashMap<String, Object>() { re.add(new HashMap<String, Object>() {
{ {
put("count", dataResource.get("rows") + ""); put("count", null == dataResource ? "0" : dataResource.get("rows") + "");
put("type", "数据资源"); put("type", "数据资源");
} }
}); });