修复缺少的属性
parent
bdc0f83e29
commit
2c7ed82b3e
|
@ -233,8 +233,10 @@ public class VideoManagerStorageImpl implements IVideoManagerStorage {
|
||||||
if (allChannelMap.containsKey(deviceChannel.getChannelId())) {
|
if (allChannelMap.containsKey(deviceChannel.getChannelId())) {
|
||||||
deviceChannel.setStreamId(allChannelMap.get(deviceChannel.getChannelId()).getStreamId());
|
deviceChannel.setStreamId(allChannelMap.get(deviceChannel.getChannelId()).getStreamId());
|
||||||
deviceChannel.setHasAudio(allChannelMap.get(deviceChannel.getChannelId()).isHasAudio());
|
deviceChannel.setHasAudio(allChannelMap.get(deviceChannel.getChannelId()).isHasAudio());
|
||||||
|
deviceChannel.setUpdateTime(DateUtil.getNow());
|
||||||
updateChannels.add(deviceChannel);
|
updateChannels.add(deviceChannel);
|
||||||
}else {
|
}else {
|
||||||
|
deviceChannel.setCreateTime(DateUtil.getNow());
|
||||||
addChannels.add(deviceChannel);
|
addChannels.add(deviceChannel);
|
||||||
}
|
}
|
||||||
if (!ObjectUtils.isEmpty(deviceChannel.getParentId())) {
|
if (!ObjectUtils.isEmpty(deviceChannel.getParentId())) {
|
||||||
|
|
Loading…
Reference in New Issue