优化mysql建库脚本

This commit is contained in:
panlinlin
2021-04-28 17:52:11 +08:00
parent 10ae1bba59
commit 04f3511fb3
4 changed files with 11 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ public interface DeviceChannelMapper {
"<if test=\"PTZType != null\">, PTZType=${PTZType}</if>" +
"<if test=\"status != null\">, status='${status}'</if>" +
"<if test=\"streamId != null\">, streamId='${streamId}'</if>" +
"<if test=\"hasAudio != null\">, hasAudio='${hasAudio}'</if>" +
"<if test=\"hasAudio != null\">, hasAudio=${hasAudio}</if>" +
"WHERE deviceId='${deviceId}' AND channelId='${channelId}'"+
" </script>"})
int update(DeviceChannel channel);