From 2af5cf496c811fd302564c7edb29d4e5f6cf31e2 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期五, 04 六月 2021 19:22:47 +0800 Subject: [PATCH] 修复 拉流代理的ffmpeg模式 --- src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java index 6ab96e4..bcc33de 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java @@ -1,7 +1,6 @@ package com.genersoft.iot.vmp.storager.dao; import com.genersoft.iot.vmp.gb28181.bean.Device; -import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; import org.apache.ibatis.annotations.*; import org.springframework.stereotype.Repository; @@ -44,7 +43,6 @@ ")") int add(Device device); - @Update(value = {" <script>" + "UPDATE device " + "SET deviceId='${deviceId}'" + @@ -68,4 +66,6 @@ @Delete("DELETE FROM device WHERE deviceId=#{deviceId}") int del(String deviceId); + @Update("UPDATE device SET online=0") + int outlineForAll(); } -- Gitblit v1.8.0