临时提交

pull/1411/head
648540858 2024-03-20 10:33:43 +08:00
parent 5e3073005d
commit 19e10d0d6a
1 changed files with 1 additions and 0 deletions

View File

@ -749,6 +749,7 @@ public class MediaServerServiceImpl implements IMediaServerService {
mediaServerItemMap.put(mediaServerItem.getId(), mediaServerItem); mediaServerItemMap.put(mediaServerItem.getId(), mediaServerItem);
} }
for (MediaServerItem mediaServerItem : allInCatch) { for (MediaServerItem mediaServerItem : allInCatch) {
// 清除数据中不存在但redis缓存数据
if (!mediaServerItemMap.containsKey(mediaServerItem.getId())) { if (!mediaServerItemMap.containsKey(mediaServerItem.getId())) {
delete(mediaServerItem.getId()); delete(mediaServerItem.getId());
} }