diff --git a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java index 2a3d27d9..361c51f3 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java @@ -919,7 +919,7 @@ public class ResourceServiceImpl extends CrudServiceImpl (long) index).sum())); + map1.put("0", (long) map1.get("0") + (deptCount - map1.values().stream().mapToLong(index -> (long) index).sum())); resultMap.put("deptTotalCount", map1); return resultMap; }