mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-16 10:37:49 +08:00
优化手动添加设备后设备的登录
This commit is contained in:
parent
a7f1bd95df
commit
aa11d02dbf
@ -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>" +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user