From 3b671cb67004df7d61a6afb98bd5db618594d110 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 16 Jan 2023 10:25:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A1=AB=E5=85=85=E9=BB=98=E8=AE=A40?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/resource/service/impl/ResourceServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) 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"))) {