From 11e8fad2e981b3dca22dad4048246d012ce326b7 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 22 六月 2021 13:13:31 +0800 Subject: [PATCH] Merge pull request #113 from lawrencehj/wvp-28181-2.0 --- src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java index db2bb77..1781a4a 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java @@ -38,6 +38,11 @@ int delChannelForGB(String platformId, List<ChannelReduce> channelReducesToDel); @Delete("<script> "+ + "DELETE FROM platform_gb_channel WHERE deviceId='${deviceId}' " + + "</script>") + int delChannelForDeviceId(String deviceId); + + @Delete("<script> "+ "DELETE FROM platform_gb_channel WHERE platformId='${platformId}'" + "</script>") int cleanChannelForGB(String platformId); -- Gitblit v1.8.0