支持从redis消息更新推流设备状态

This commit is contained in:
648540858
2022-07-12 17:33:17 +08:00
parent 0b1cae75fe
commit 81f69eb6f4
10 changed files with 210 additions and 17 deletions

View File

@@ -58,7 +58,7 @@ public class CatalogEventLister implements ApplicationListener<CatalogEvent> {
ParentPlatform parentPlatform = null;
Map<String, List<ParentPlatform>> parentPlatformMap = new HashMap<>();
if (event.getPlatformId() != null) {
if (!StringUtils.isEmpty(event.getPlatformId())) {
parentPlatform = storager.queryParentPlatByServerGBId(event.getPlatformId());
if (parentPlatform != null && !parentPlatform.isStatus()) {
return;