|
@@ -234,12 +234,13 @@ public class ArticleAuditService {
|
|
|
List<String> deleteTraceIds = publishContentIds.stream().map(PublishTraceIdMap::get).collect(Collectors.toList());
|
|
|
// 重新匹配小程序
|
|
|
List<String> reMatchTraceIds = traceIds.stream().filter(o -> !deleteTraceIds.contains(o)).collect(Collectors.toList());
|
|
|
- buildReMatchRecord(reMatchTraceIds, matchVideoMap);
|
|
|
+ buildReMatchRecord(reMatchTraceIds, ossPath, matchVideoMap);
|
|
|
// 文章删除
|
|
|
buildArticleAuditDelete(publishContentIds);
|
|
|
}
|
|
|
|
|
|
- private void buildReMatchRecord(List<String> reMatchTraceIds, Map<String, LongArticlesMatchVideo> matchVideoMap) {
|
|
|
+ private void buildReMatchRecord(List<String> reMatchTraceIds, String ossPath,
|
|
|
+ Map<String, LongArticlesMatchVideo> matchVideoMap) {
|
|
|
if (CollectionUtils.isEmpty(reMatchTraceIds)) {
|
|
|
return;
|
|
|
}
|
|
@@ -256,6 +257,8 @@ public class ArticleAuditService {
|
|
|
}
|
|
|
ArticleReMatchRecord record = new ArticleReMatchRecord();
|
|
|
record.setTraceId(traceId);
|
|
|
+ record.setContentId(matchVideo.getContentId());
|
|
|
+ record.setOssPath(ossPath);
|
|
|
record.setStatus(0);
|
|
|
if (StringUtils.hasText(matchVideo.getResponse())) {
|
|
|
record.setOldResponse(matchVideo.getResponse());
|