From 8b72d7db64f0240c8ea02f16c29772a08c3aeeb6 Mon Sep 17 00:00:00 2001 From: zxb <919411476@qq.com> Date: Fri, 4 Aug 2023 15:04:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E6=AD=A3=E5=B8=B8=E5=88=A0=E9=99=A4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vmp/storager/dao/PlatformChannelMapper.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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 7a749cbd..1a2f1911 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 @@ -40,13 +40,13 @@ public interface PlatformChannelMapper { "") int delChannelForGB(String platformId, List channelReducesToDel); - @Delete("") + @Delete("DELETE pgc " + + "FROM " + + "wvp_platform_gb_channel pgc," + + "wvp_device_channel dc " + + "WHERE " + + "dc.id = pgc.device_channel_id " + + "AND dc.device_id = #{deviceId} ") int delChannelForDeviceId(String deviceId); @Delete("