diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java index 986595f9..db872f69 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java @@ -548,7 +548,7 @@ public interface DeviceChannelMapper { ", gps_time=#{item.gpsTime}" + ", stream_identification=#{item.streamIdentification}" + ", channel_type=#{item.channelType}" + - " WHERE device_id=#{item.deviceId}" + + " WHERE device_db_id = #{item.deviceDbId} and device_id=#{item.deviceId}" + "" + ""}) int batchUpdateForNotify(List updateChannels);