From e66b83965943e8471d5e2fb616899e0c8271e840 Mon Sep 17 00:00:00 2001 From: ydpd <ydpd@163.com> Date: 星期三, 02 三月 2022 00:02:03 +0800 Subject: [PATCH] 修改内存泄露 --- src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java index 4f0cbea..ca8a72b 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/ParentPlatformMapper.java @@ -54,7 +54,11 @@ " +\n" + " (SELECT count(0)\n" + " FROM platform_gb_stream pgs\n" + - " WHERE pgs.platformId = pp.serverGBId)) as channelCount\n" + + " WHERE pgs.platformId = pp.serverGBId)\n" + + " +\n" + + " (SELECT count(0)\n" + + " FROM platform_catalog pgc\n" + + " WHERE pgc.platformId = pp.serverGBId)) as channelCount\n" + "FROM parent_platform pp ") List<ParentPlatform> getParentPlatformList(); -- Gitblit v1.8.0