From f38c86092de599af50c46e0008308da4fae51843 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Thu, 19 Sep 2024 16:23:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DNOTIFY=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E9=80=9A=E9=81=93=E4=BF=A1=E6=81=AF=E7=9A=84=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vmp/gb28181/dao/DeviceChannelMapper.java | 59 +++++++++++++++++++ .../service/IDeviceChannelService.java | 4 +- .../impl/DeviceChannelServiceImpl.java | 10 ++-- .../NotifyRequestForCatalogProcessor.java | 4 +- 4 files changed, 68 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java index 2f70ee8d..986595f9 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java @@ -501,6 +501,58 @@ public interface DeviceChannelMapper { ""}) int batchUpdate(List updateChannels); + + @Update({""}) + int batchUpdateForNotify(List updateChannels); + @Update(" update wvp_device_channel" + " set sub_count = (select *" + " from (select count(0)" + @@ -626,6 +678,13 @@ public interface DeviceChannelMapper { ""}) int batchDel(List deleteChannelList); + @Delete({""}) + int batchDelForNotify(List deleteChannelList); + @Update({"