From 8a9f8c6cab1e619d1a0e10430ef49a7f2b62a1f2 Mon Sep 17 00:00:00 2001 From: xiaoQQya <xiaoQQya@126.com> Date: 星期三, 01 十一月 2023 16:04:12 +0800 Subject: [PATCH] fix: 修复推流鉴权时 enable_audio 设置错误的问题 --- src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java | 3 ++- 1 files changed, 2 insertions(+), 1 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 3826350..f363f66 100755 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/PlatformChannelMapper.java @@ -105,7 +105,8 @@ void delByPlatformId(String serverGBId); @Delete("<script> " + - "DELETE from wvp_platform_gb_channel WHERE platform_id=#{platformId} and catalog_id=#{catalogId}" + + "DELETE from wvp_platform_gb_channel WHERE platform_id=#{platformId} " + + " <if test=\"catalogId != null\" > and catalog_id=#{catalogId}</if>" + "</script>") int delChannelForGBByCatalogId(@Param("platformId") String platformId, @Param("catalogId") String catalogId); -- Gitblit v1.8.0