From a2231e4d11316bc103a5511708b482deec8fedeb Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 17 Oct 2022 16:28:54 +0800 Subject: [PATCH] ... --- .../modules/resource/service/impl/ResourceServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d4304988..6bfa7dbe 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 @@ -2114,7 +2114,7 @@ public class ResourceServiceImpl extends CrudServiceImpl> temp = typeCountListMap2.keySet().stream().map(index_ -> { HashMap map = new HashMap<>(); typeCountListMap2.get(index_).stream().forEach(count -> { - map.put(count.get("type").toString(), Integer.parseInt(count.get("type").toString())); + map.put(count.get("type").toString(), Integer.parseInt(count.get("count").toString())); if (countMap.containsKey(count.get("type"))) { countMap.replace(count.get("type").toString(), Integer.parseInt(count.get("count").toString()) + countMap.get(count.get("type"))); } else {