|
@@ -120,18 +120,18 @@ public class ArticleVideoAuditService {
|
|
|
}
|
|
|
|
|
|
private void auditArticleReject(LongArticleTitleAudit titleAudit) {
|
|
|
- // reMatch
|
|
|
- List<LongArticleCrawlerVideo> videoList = crawlerVideoRepository.getByContentIdAndIsIllegal(titleAudit.getContentId(), 1);
|
|
|
- if (CollectionUtils.isNotEmpty(videoList)) {
|
|
|
- for (LongArticleCrawlerVideo video : videoList) {
|
|
|
- ArticleReMatchRecord reMatchRecord = new ArticleReMatchRecord();
|
|
|
- reMatchRecord.setContentId(titleAudit.getContentId());
|
|
|
- reMatchRecord.setOssPath(video.getVideoOssPath());
|
|
|
- reMatchRecord.setStatus(0);
|
|
|
- reMatchRecord.setCreateTimestamp(System.currentTimeMillis() / 1000);
|
|
|
- articleReMatchRecordRepository.save(reMatchRecord);
|
|
|
- }
|
|
|
- }
|
|
|
+ // reMatch 暂时取消
|
|
|
+// List<LongArticleCrawlerVideo> videoList = crawlerVideoRepository.getByContentIdAndIsIllegal(titleAudit.getContentId(), 1);
|
|
|
+// if (CollectionUtils.isNotEmpty(videoList)) {
|
|
|
+// for (LongArticleCrawlerVideo video : videoList) {
|
|
|
+// ArticleReMatchRecord reMatchRecord = new ArticleReMatchRecord();
|
|
|
+// reMatchRecord.setContentId(titleAudit.getContentId());
|
|
|
+// reMatchRecord.setOssPath(video.getVideoOssPath());
|
|
|
+// reMatchRecord.setStatus(0);
|
|
|
+// reMatchRecord.setCreateTimestamp(System.currentTimeMillis() / 1000);
|
|
|
+// articleReMatchRecordRepository.save(reMatchRecord);
|
|
|
+// }
|
|
|
+// }
|
|
|
// publish_content
|
|
|
publishContentMapper.updatePublishContentStatus(titleAudit.getContentId(),
|
|
|
PublishContentStatusEnum.gzh_article_deprecated.getVal(),
|