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 361c51f3..c47f1e57 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", (int) map1.get("0") + (deptCount - map1.values().stream().mapToInt(index -> (int) index).sum())); resultMap.put("deptTotalCount", map1); return resultMap; }