648540858
2022-01-17 385fdb95f18c1f0b4e38f8a6e481176ac31ee987
src/main/java/com/genersoft/iot/vmp/gb28181/event/online/OnlineEventListener.java
@@ -85,7 +85,7 @@
      device.setOnline(1);
      Device deviceInstore = storager.queryVideoDevice(device.getDeviceId());
      if (deviceInstore.getOnline() == 0) {
      if (deviceInstore != null && deviceInstore.getOnline() == 0) {
         List<DeviceChannel> deviceChannelList = storager.queryOnlineChannelsByDeviceId(device.getDeviceId());
         eventPublisher.catalogEventPublish(null, deviceChannelList, CatalogEvent.ON);
      }