Commit 28e5c1ae05100c7229230ef9adf749b16c6ff4ee
1 parent
28b1ed8b
修复平台编辑的bug
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/storager/impl/VideoManagerStoragerImpl.java
| ... | ... | @@ -543,7 +543,7 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager { |
| 543 | 543 | if (parentPlatformCatch == null) { // serverGBId 已变化 |
| 544 | 544 | ParentPlatform parentPlatById = platformMapper.getParentPlatById(parentPlatform.getId()); |
| 545 | 545 | // 使用旧的查出缓存ID |
| 546 | - parentPlatformCatch = redisCatchStorage.queryPlatformCatchInfo(parentPlatById.getServerGBId()); | |
| 546 | + parentPlatformCatch = new ParentPlatformCatch(); | |
| 547 | 547 | parentPlatformCatch.setId(parentPlatform.getServerGBId()); |
| 548 | 548 | redisCatchStorage.delPlatformCatchInfo(parentPlatById.getServerGBId()); |
| 549 | 549 | } | ... | ... |