From 3d2a87f61dc46800fa065398e93e05cfceb3c796 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Mon, 30 Dec 2024 16:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A8=E6=B5=81=E6=B5=81?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=97=B6=E5=86=99=E5=85=A5=E8=8A=82=E7=82=B9?= =?UTF-8?q?ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vmp/streamPush/dao/StreamPushMapper.java | 4 ++-- .../service/IStreamPushService.java | 4 +--- .../service/impl/StreamPushServiceImpl.java | 22 +++++++++---------- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/streamPush/dao/StreamPushMapper.java b/src/main/java/com/genersoft/iot/vmp/streamPush/dao/StreamPushMapper.java index 882eb89b..c77fa419 100755 --- a/src/main/java/com/genersoft/iot/vmp/streamPush/dao/StreamPushMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/streamPush/dao/StreamPushMapper.java @@ -80,9 +80,9 @@ public interface StreamPushMapper { List selectAllByMediaServerIdWithOutGbID(String mediaServerId); @Update("UPDATE wvp_stream_push " + - "SET pushing=#{pushing}, server_id=#{serverId} " + + "SET pushing=#{pushing}, server_id=#{serverId}, media_server_id=#{mediaServerId} " + "WHERE id=#{id}") - int updatePushStatus(@Param("id") int id, @Param("pushing") boolean pushing, @Param("serverId") String serverId); + int updatePushStatus(StreamPush streamPush); @Select("