|
@@ -282,6 +282,11 @@ public class ArticleService {
|
|
|
}
|
|
|
long now = System.currentTimeMillis();
|
|
|
for (ArticlePoolPromotionSource task : tasks) {
|
|
|
+ // 判断文章是否被抓回来,如果没有抓回来,不进行处理 临时方案
|
|
|
+ CrawlerContent crawlerContent = aigcBaseMapper.getCrawlerContentByChannelContentId(task.getChannelContentId());
|
|
|
+ if (Objects.isNull(crawlerContent)) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
// 溯源
|
|
|
Article article = articleRepository.getByWxSn(task.getWxSn());
|
|
|
if (Objects.isNull(article)) {
|