From 111274c08a7888365ea90229293104b9571ea69d Mon Sep 17 00:00:00 2001
From: lin <648540858@qq.com>
Date: Tue, 3 Jun 2025 10:36:29 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=9A=E9=81=93=E5=85=B1?=
=?UTF-8?q?=E4=BA=AB=E7=8A=B6=E6=80=81=E8=BF=87=E6=BB=A4=EF=BC=8C=20?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8F=91=E6=B5=81=E7=AB=AF=E5=8F=A3=E8=8E=B7?=
=?UTF-8?q?=E5=8F=96=EF=BC=8C=20=E9=81=BF=E5=85=8D=E9=80=92=E5=BD=92?=
=?UTF-8?q?=E8=BF=87=E5=A4=9A=E5=BC=82=E5=B8=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../gb28181/dao/PlatformChannelMapper.java | 4 +--
.../impl/SendRtpServerServiceImpl.java | 34 ++++++++-----------
2 files changed, 17 insertions(+), 21 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/PlatformChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/PlatformChannelMapper.java
index c437eee0f..8d44f8df3 100755
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/PlatformChannelMapper.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/PlatformChannelMapper.java
@@ -147,8 +147,8 @@ public interface PlatformChannelMapper {
" " +
" AND (coalesce(wdc.gb_device_id, wdc.device_id) LIKE concat('%',#{query},'%') OR wpgc.custom_device_id LIKE concat('%',#{query},'%') " +
" OR coalesce(wdc.gb_name, wdc.name) LIKE concat('%',#{query},'%') OR wpgc.custom_name LIKE concat('%',#{query},'%')) " +
- " AND coalesce(wpgc.status, wdc.gb_status, wdc.status) = 'ON' " +
- " AND coalesce(wpgc.status, wdc.gb_status, wdc.status) = 'OFF' " +
+ " AND coalesce(wpgc.custom_status, wdc.gb_status, wdc.status) = 'ON' " +
+ " AND coalesce(wpgc.custom_status, wdc.gb_status, wdc.status) = 'OFF' " +
" AND wpgc.platform_id = #{platformId} " +
" AND wpgc.platform_id is null " +
" AND wdc.data_type = #{dataType} " +
diff --git a/src/main/java/com/genersoft/iot/vmp/service/impl/SendRtpServerServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/service/impl/SendRtpServerServiceImpl.java
index 88f1df2e1..053ff9e69 100644
--- a/src/main/java/com/genersoft/iot/vmp/service/impl/SendRtpServerServiceImpl.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/impl/SendRtpServerServiceImpl.java
@@ -28,7 +28,7 @@ public class SendRtpServerServiceImpl implements ISendRtpServerService {
@Autowired
private RedisTemplate