From b33527cf6c4842a847a3fc57b7d59c2cf077dd59 Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Wed, 2 Nov 2022 13:58:00 +0800 Subject: [PATCH] Merge branch 'dev' of http://221.0.232.152:9393/ability-center/share-platform into show # Conflicts: # renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java --- .../service/impl/ResourceServiceImpl.java | 10 ++-- .../src/main/resources/application-dev.yml | 4 ++ .../src/main/resources/application-my.yml | 2 +- .../src/main/resources/application-show.yml | 50 +++++++++++++++---- .../src/main/resources/application-test.yml | 4 +- .../src/main/resources/application.yml | 2 +- 6 files changed, 55 insertions(+), 17 deletions(-) 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