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 c580cc82..b9f13813 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 @@ -635,7 +635,8 @@ public class ResourceServiceImpl extends CrudServiceImpl re.add(new HashMap() { { put("count", sum + ""); - put("type", "基础设施"); + put("type", "视频资源");//演示版本临时改名为视频资源 + //put("type", "基础设施"); } })); Long total; @@ -678,7 +679,8 @@ public class ResourceServiceImpl extends CrudServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("check_status", 1).ne("gps_x", "").ne("gps_y", "").isNotNull("gps_x").isNotNull("gps_y"); put("count", cameraChannelMapper.selectCount(queryWrapper) + ""); - put("type", "基础设施"); + put("type", "视频资源"); + //put("type", "基础设施"); } }); @@ -687,7 +689,7 @@ public class ResourceServiceImpl extends CrudServiceImpl temp = new ArrayList<>(); + /*List temp = new ArrayList<>(); re.forEach(map -> temp.add(map.get("type").toString())); Arrays.stream(censusTypes).filter(index -> !temp.contains(index)).forEach(index -> { // 数据库内不存在的资源类型 Map nullMap = new HashMap() { @@ -697,7 +699,7 @@ public class ResourceServiceImpl extends CrudServiceImpl