|
@@ -82,7 +82,9 @@ public class ArticleAuditService {
|
|
|
publishTime = DateUtils.getStartOfDay(param, "yyyyMMdd");
|
|
|
}
|
|
|
List<GetOffVideoArticle> getOffVideoArticleList = getOffVideoArticleRepository.getByPublishTimeGreaterThanEqual(publishTime);
|
|
|
- List<String> traceIds = getOffVideoArticleList.stream().map(GetOffVideoArticle::getTraceId).distinct().collect(Collectors.toList());
|
|
|
+ List<String> traceIds = getOffVideoArticleList.stream()
|
|
|
+ .filter(o -> !o.getTraceId().startsWith("direct"))
|
|
|
+ .map(GetOffVideoArticle::getTraceId).distinct().collect(Collectors.toList());
|
|
|
if (CollectionUtil.isEmpty(traceIds)) {
|
|
|
return ReturnT.SUCCESS;
|
|
|
}
|