mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 22:47:49 +08:00
修复分屏监控地址不一致
This commit is contained in:
parent
9903f25cc1
commit
198db8f684
@ -120,7 +120,6 @@ public class DeviceChannelServiceImpl implements IDeviceChannelService {
|
|||||||
List<DeviceChannel> updateChannels = new ArrayList<>();
|
List<DeviceChannel> updateChannels = new ArrayList<>();
|
||||||
HashMap<String, DeviceChannel> channelsInStore = new HashMap<>();
|
HashMap<String, DeviceChannel> channelsInStore = new HashMap<>();
|
||||||
int result = 0;
|
int result = 0;
|
||||||
if (channels != null && !channels.isEmpty()) {
|
|
||||||
List<DeviceChannel> channelList = channelMapper.queryChannelsByDeviceDbId(device.getId());
|
List<DeviceChannel> channelList = channelMapper.queryChannelsByDeviceDbId(device.getId());
|
||||||
if (channelList.isEmpty()) {
|
if (channelList.isEmpty()) {
|
||||||
for (DeviceChannel channel : channels) {
|
for (DeviceChannel channel : channels) {
|
||||||
@ -200,7 +199,6 @@ public class DeviceChannelServiceImpl implements IDeviceChannelService {
|
|||||||
result += channelMapper.batchUpdate(updateChannelList);
|
result += channelMapper.batchUpdate(updateChannelList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -60,7 +60,7 @@ export const constantRoutes = [
|
|||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/live',
|
redirect: '/live',
|
||||||
children: [{
|
children: [{
|
||||||
path: 'live',
|
path: '',
|
||||||
name: 'Live',
|
name: 'Live',
|
||||||
component: () => import('@/views/live/index'),
|
component: () => import('@/views/live/index'),
|
||||||
meta: { title: '分屏监控', icon: 'live' }
|
meta: { title: '分屏监控', icon: 'live' }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user