|
@@ -179,15 +179,12 @@ public class BlacklistContainer {
|
|
|
for (Long tagId : tagIdSet) {
|
|
|
List<WxVideoTagRel> wxVideoTagRels = wxVideoTagRelRepository.findAllByTagId(tagId);
|
|
|
Set<Long> videoIdSet = wxVideoTagRels.stream().map(WxVideoTagRel::getVideoId).collect(Collectors.toSet());
|
|
|
+ LOG.info("同步本地标签ID与视频列表缓存任务 -- tagId: {}, videoIdSize: {}", tagId, tagIdSet.size());
|
|
|
tmpMap.put(tagId, videoIdSet);
|
|
|
}
|
|
|
}
|
|
|
videoTagCache = tmpMap;
|
|
|
|
|
|
- for (Map.Entry<Long, Set<Long>> entry : videoTagCache.entrySet()) {
|
|
|
- LOG.info("tagId: {}, videoIdSize: {}", entry.getKey(), entry.getValue().size());
|
|
|
- }
|
|
|
-
|
|
|
LOG.info("同步本地标签ID与视频列表的缓存任务结束");
|
|
|
}
|
|
|
|
|
@@ -198,7 +195,6 @@ public class BlacklistContainer {
|
|
|
|
|
|
String userType = this.matchUserBlacklistTypeEnum(uid, hotSceneType, cityCode, clientIP);
|
|
|
Collection<Long> tagIdSet = this.findExcludeTagIds(userType);
|
|
|
- LOG.info("tagIdSet: {}", tagIdSet);
|
|
|
if (CollectionUtils.isEmpty(tagIdSet)) {
|
|
|
return videoIds;
|
|
|
}
|