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 d810fd1d..05bbb27a 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 @@ -2444,6 +2444,7 @@ public class ResourceServiceImpl extends CrudServiceImpl { HashMap map = new HashMap<>(); map.put("count", v.stream().mapToInt(it -> Integer.parseInt(it.get("count").toString())).sum()); @@ -2456,6 +2457,9 @@ public class ResourceServiceImpl extends CrudServiceImpl { map.put(item.get("type").toString(), item.get("count")); if (countMap.containsKey(item.get("type"))) {