Browse Source

Update VideoManagerStorageImpl.java

pull/480/head
fffxiang 3 years ago
committed by GitHub
parent
commit
da152296d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStorageImpl.java

4
src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStorageImpl.java

@ -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);
}

Loading…
Cancel
Save