From c953943083178d9bf0ce7f583634f0021ec9f973 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Fri, 31 Mar 2023 09:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/genersoft/iot/vmp/storager/dao/DeviceMapper.java | 5 +---- 1 file changed, 1 insertion(+), 4 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 3751a246..fe739ea9 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 @@ -171,9 +171,6 @@ public interface DeviceMapper { @Delete("DELETE FROM device WHERE deviceId=#{deviceId}") int del(String deviceId); - @Update("UPDATE device SET online=0") - int outlineForAll(); - @Select("SELECT " + "deviceId, " + "coalesce(custom_name, name) as name, " + @@ -258,7 +255,7 @@ public interface DeviceMapper { ", mediaServerId=#{mediaServerId}" + "WHERE deviceId=#{deviceId}"+ " "}) - int updateCustom(Device device); + void updateCustom(Device device); @Insert("INSERT INTO device (" + "deviceId, " +