数据资源统计修改
This commit is contained in:
parent
f4d0001b85
commit
dfd3cbadb6
|
@ -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", "数据资源");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue