|
@@ -94,7 +94,7 @@ public class ArticleVideoAuditService {
|
|
|
}).collect(Collectors.toList());
|
|
|
item.setVideoList(videoItems);
|
|
|
item.setVideoCount(videoItems.size());
|
|
|
- item.setWaitingAuditVideoCount(videoItems.size());
|
|
|
+ item.setWaitingAuditVideoCount((int) videoItems.stream().filter(o -> o.getStatus() == 0).count());
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -107,7 +107,7 @@ public class ArticleVideoAuditService {
|
|
|
titleAuditRepository.save(titleAudit);
|
|
|
if (param.getStatus() == 2) {
|
|
|
// 审核不通过
|
|
|
-// auditArticleReject(titleAudit);
|
|
|
+ auditArticleReject(titleAudit);
|
|
|
} else {
|
|
|
// 审核通过
|
|
|
auditArticlePass(titleAudit);
|
|
@@ -150,7 +150,7 @@ public class ArticleVideoAuditService {
|
|
|
if (param.getStatus() == 2) {
|
|
|
video.setIsIllegal(1);
|
|
|
// 审核不通过
|
|
|
-// auditVideoReject(video);
|
|
|
+ auditVideoReject(video);
|
|
|
} else {
|
|
|
video.setIsIllegal(0);
|
|
|
}
|
|
@@ -195,7 +195,7 @@ public class ArticleVideoAuditService {
|
|
|
return ReturnT.SUCCESS;
|
|
|
}
|
|
|
Map<String, List<ArticleReMatchRecord>> reMatchRecordMap = reMatchRecordList.stream()
|
|
|
- .collect(Collectors.groupingBy(ArticleReMatchRecord::getContentId));
|
|
|
+ .collect(Collectors.groupingBy(ArticleReMatchRecord::getContentId));
|
|
|
for (LongArticleTitleAudit audit : rejectList) {
|
|
|
List<ArticleReMatchRecord> records = reMatchRecordMap.get(audit.getContentId());
|
|
|
if (CollectionUtils.isEmpty(records)) {
|