mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-27 07:27:49 +08:00
Compare commits
2 Commits
4c75e165d1
...
2a9bcff90e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a9bcff90e | ||
|
|
198db8f684 |
@ -120,7 +120,6 @@ public class DeviceChannelServiceImpl implements IDeviceChannelService {
|
||||
List<DeviceChannel> updateChannels = new ArrayList<>();
|
||||
HashMap<String, DeviceChannel> channelsInStore = new HashMap<>();
|
||||
int result = 0;
|
||||
if (channels != null && !channels.isEmpty()) {
|
||||
List<DeviceChannel> channelList = channelMapper.queryChannelsByDeviceDbId(device.getId());
|
||||
if (channelList.isEmpty()) {
|
||||
for (DeviceChannel channel : channels) {
|
||||
@ -200,7 +199,6 @@ public class DeviceChannelServiceImpl implements IDeviceChannelService {
|
||||
result += channelMapper.batchUpdate(updateChannelList);
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ export const constantRoutes = [
|
||||
component: Layout,
|
||||
redirect: '/live',
|
||||
children: [{
|
||||
path: 'live',
|
||||
path: '',
|
||||
name: 'Live',
|
||||
component: () => import('@/views/live/index'),
|
||||
meta: { title: '分屏监控', icon: 'live' }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user