Update VideoManagerStorageImpl.java

pull/480/head
fffxiang 2022-05-17 17:05:02 +08:00 committed by GitHub
parent bfb3b4ea13
commit da152296d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -314,9 +314,9 @@ public class VideoManagerStorageImpl implements IVideoManagerStorage {
PageHelper.startPage(page, count);
List<DeviceChannel> all;
if (catalogUnderDevice != null && catalogUnderDevice) {
all = deviceChannelMapper.queryChannels(deviceId, deviceId, query, hasSubChannel, online);
}else {
all = deviceChannelMapper.queryChannels(deviceId, null, query, hasSubChannel, online);
}else {
all = deviceChannelMapper.queryChannels(deviceId, deviceId, query, hasSubChannel, online);
}
return new PageInfo<>(all);
}