Commit c953943083178d9bf0ce7f583634f0021ec9f973
1 parent
1421b474
处理警告
Showing
1 changed file
with
1 additions
and
4 deletions
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
| ... | ... | @@ -171,9 +171,6 @@ public interface DeviceMapper { |
| 171 | 171 | @Delete("DELETE FROM device WHERE deviceId=#{deviceId}") |
| 172 | 172 | int del(String deviceId); |
| 173 | 173 | |
| 174 | - @Update("UPDATE device SET online=0") | |
| 175 | - int outlineForAll(); | |
| 176 | - | |
| 177 | 174 | @Select("SELECT " + |
| 178 | 175 | "deviceId, " + |
| 179 | 176 | "coalesce(custom_name, name) as name, " + |
| ... | ... | @@ -258,7 +255,7 @@ public interface DeviceMapper { |
| 258 | 255 | "<if test=\"mediaServerId != null\">, mediaServerId=#{mediaServerId}</if>" + |
| 259 | 256 | "WHERE deviceId=#{deviceId}"+ |
| 260 | 257 | " </script>"}) |
| 261 | - int updateCustom(Device device); | |
| 258 | + void updateCustom(Device device); | |
| 262 | 259 | |
| 263 | 260 | @Insert("INSERT INTO device (" + |
| 264 | 261 | "deviceId, " + | ... | ... |