648540858
2022-01-19 6ba8ab22b54e83d0e0edabb9d0fdc8870b86e98f
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);
      }