From e2f053351083391b6ca2f9287960f53e1777162d Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Tue, 26 Sep 2023 15:39:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E6=98=AF=E5=90=A6=E8=87=AA=E5=8A=A8=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=9B=BD=E6=A0=87=E9=80=9A=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vmp/service/impl/CommonGbChannelServiceImpl.java | 12 ++++++------ .../iot/vmp/storager/dao/CommonGbChannelMapper.java | 12 ++++++++++++ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/impl/CommonGbChannelServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/service/impl/CommonGbChannelServiceImpl.java index fc51581c..903e8693 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/impl/CommonGbChannelServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/service/impl/CommonGbChannelServiceImpl.java @@ -292,17 +292,17 @@ public class CommonGbChannelServiceImpl implements ICommonGbChannelService { } @Override - public void deleteGbChannelsFromList(List deleteChannelList) { - commonGbChannelMapper.deleteByDeviceIDs(deleteChannelList); + public void deleteGbChannelsFromList(List channelList) { + commonGbChannelMapper.deleteByDeviceIDs(channelList); } @Override - public void channelsOnlineFromList(List deleteChannelList) { - + public void channelsOnlineFromList(List channelList) { + commonGbChannelMapper.channelsOnlineFromList(channelList); } @Override - public void channelsOfflineFromList(List deleteChannelList) { - + public void channelsOfflineFromList(List channelList) { + commonGbChannelMapper.channelsOfflineFromList(channelList); } } diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/CommonGbChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/CommonGbChannelMapper.java index 4c90ff18..67707777 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/CommonGbChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/CommonGbChannelMapper.java @@ -289,4 +289,16 @@ public interface CommonGbChannelMapper { "") int deleteByDeviceIDs(List clearChannels); + @Update("") + void channelsOnlineFromList(List channelList); + + + @Update("") + void channelsOfflineFromList(List channelList); }