|
@@ -7,6 +7,7 @@ import com.google.common.cache.CacheBuilder;
|
|
|
import com.google.common.collect.Lists;
|
|
|
import com.tzld.longarticle.recommend.server.common.CostMonitor;
|
|
|
import com.tzld.longarticle.recommend.server.common.ThreadPoolFactory;
|
|
|
+import com.tzld.longarticle.recommend.server.common.enums.LongArticleTextSimilarityStatusEnum;
|
|
|
import com.tzld.longarticle.recommend.server.common.enums.StatusEnum;
|
|
|
import com.tzld.longarticle.recommend.server.common.enums.aigc.PublishPlanInputSourceTypesEnum;
|
|
|
import com.tzld.longarticle.recommend.server.common.enums.recommend.*;
|
|
@@ -219,7 +220,7 @@ public class RecallService implements ApplicationContextAware {
|
|
|
}
|
|
|
content.removeIf(o -> !Objects.equals(o.getSourceType(), PublishPlanInputSourceTypesEnum.longArticleVideoPoolSource.getVal())
|
|
|
&& (Objects.isNull(textStatusMap.get(o.getSourceId()))
|
|
|
- || textStatusMap.get(o.getSourceId()) != 1));
|
|
|
+ || textStatusMap.get(o.getSourceId()) != LongArticleTextSimilarityStatusEnum.USEFUL.getCode()));
|
|
|
}
|
|
|
|
|
|
private void setVideoContent(List<Content> contentList) {
|