处理警告
parent
1421b4743c
commit
c953943083
|
@ -171,9 +171,6 @@ public interface DeviceMapper {
|
||||||
@Delete("DELETE FROM device WHERE deviceId=#{deviceId}")
|
@Delete("DELETE FROM device WHERE deviceId=#{deviceId}")
|
||||||
int del(String deviceId);
|
int del(String deviceId);
|
||||||
|
|
||||||
@Update("UPDATE device SET online=0")
|
|
||||||
int outlineForAll();
|
|
||||||
|
|
||||||
@Select("SELECT " +
|
@Select("SELECT " +
|
||||||
"deviceId, " +
|
"deviceId, " +
|
||||||
"coalesce(custom_name, name) as name, " +
|
"coalesce(custom_name, name) as name, " +
|
||||||
|
@ -258,7 +255,7 @@ public interface DeviceMapper {
|
||||||
"<if test=\"mediaServerId != null\">, mediaServerId=#{mediaServerId}</if>" +
|
"<if test=\"mediaServerId != null\">, mediaServerId=#{mediaServerId}</if>" +
|
||||||
"WHERE deviceId=#{deviceId}"+
|
"WHERE deviceId=#{deviceId}"+
|
||||||
" </script>"})
|
" </script>"})
|
||||||
int updateCustom(Device device);
|
void updateCustom(Device device);
|
||||||
|
|
||||||
@Insert("INSERT INTO device (" +
|
@Insert("INSERT INTO device (" +
|
||||||
"deviceId, " +
|
"deviceId, " +
|
||||||
|
|
Loading…
Reference in New Issue