优化手动添加设备后设备的登录

结构优化
648540858 2023-12-27 09:41:48 +08:00
parent a7f1bd95df
commit aa11d02dbf
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import java.util.List;
public interface DeviceMapper {
@Select("SELECT " +
"id, " +
"device_id, " +
"coalesce(custom_name, name) as name, " +
"password, " +
@ -115,6 +116,7 @@ public interface DeviceMapper {
"<if test=\"model != null\">, model=#{model}</if>" +
"<if test=\"firmware != null\">, firmware=#{firmware}</if>" +
"<if test=\"transport != null\">, transport=#{transport}</if>" +
"<if test=\"streamMode != null\">, stream_mode=#{streamMode}</if>" +
"<if test=\"ip != null\">, ip=#{ip}</if>" +
"<if test=\"localIp != null\">, local_ip=#{localIp}</if>" +
"<if test=\"port != null\">, port=#{port}</if>" +