|
@@ -2,6 +2,7 @@ package com.tzld.piaoquan.recommend.server.service.filter;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.google.common.base.Stopwatch;
|
|
|
+import com.google.common.collect.Lists;
|
|
|
import com.tzld.piaoquan.recommend.server.common.ThreadPoolFactory;
|
|
|
import com.tzld.piaoquan.recommend.server.service.PreViewedService;
|
|
|
import com.tzld.piaoquan.recommend.server.service.ServiceBeanFactory;
|
|
@@ -241,7 +242,7 @@ public abstract class AbstractFilterService {
|
|
|
if (CollectionUtils.isEmpty(videoIds)) {
|
|
|
return Collections.emptyList();
|
|
|
}
|
|
|
- List<Long> result = new ArrayList<>();
|
|
|
+ List<Long> result = Lists.newArrayList(param.getVideoIds());
|
|
|
for (int i = 0; i < videoIds.size(); ++i) {
|
|
|
result.retainAll(videoIds.get(i));
|
|
|
}
|