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 8103d495..204ad1a5 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 @@ -2434,6 +2434,16 @@ public class ResourceServiceImpl extends CrudServiceImpl>> typeCountListMap = typeCountListByApplyDept.stream().collect(Collectors.groupingBy(m -> m.get("deptName").toString())); ArrayList resultList = new ArrayList<>(); Map countMap = new HashMap<>(); + countMap.put("yyzy", 0); + countMap.put("znsf", 0); + countMap.put("tcfw", 0); + countMap.put("kfzj", 0); + countMap.put("ywzj", 0); + countMap.put("jcss", 0); + countMap.put("zsk", 0); + countMap.put("sjzy", 0); + countMap.put("yzy", 0); + countMap.put("ysp", 0); typeCountListMap.forEach((k, v) -> { HashMap map = new HashMap<>(); map.put("count", v.stream().mapToInt(it -> Integer.parseInt(it.get("count").toString())).sum()); @@ -2475,7 +2485,6 @@ public class ResourceServiceImpl extends CrudServiceImpl> typeCountListByApplyDept = resourceDao.selectApplyDeptDetailTypeCountList(params); if ("250000".equals(params.get("region").toString())) { List> zwyCountListByApplyDept = new ArrayList<>();