Commit 28e5c1ae05100c7229230ef9adf749b16c6ff4ee

Authored by 648540858
1 parent 28b1ed8b

修复平台编辑的bug

src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java
@@ -543,7 +543,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager { @@ -543,7 +543,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager {
543 if (parentPlatformCatch == null) { // serverGBId 已变化 543 if (parentPlatformCatch == null) { // serverGBId 已变化
544 ParentPlatform parentPlatById = platformMapper.getParentPlatById(parentPlatform.getId()); 544 ParentPlatform parentPlatById = platformMapper.getParentPlatById(parentPlatform.getId());
545 // 使用旧的查出缓存ID 545 // 使用旧的查出缓存ID
546 - parentPlatformCatch = redisCatchStorage.queryPlatformCatchInfo(parentPlatById.getServerGBId()); 546 + parentPlatformCatch = new ParentPlatformCatch();
547 parentPlatformCatch.setId(parentPlatform.getServerGBId()); 547 parentPlatformCatch.setId(parentPlatform.getServerGBId());
548 redisCatchStorage.delPlatformCatchInfo(parentPlatById.getServerGBId()); 548 redisCatchStorage.delPlatformCatchInfo(parentPlatById.getServerGBId());
549 } 549 }