|
@@ -187,10 +187,9 @@ public class ContentPlatformVideoJob {
|
|
|
Map<Long, VideoDetail> videoDetailMap = messageAttachmentService.getVideoDetail(new HashSet<>(videoIds));
|
|
|
for (ContentPlatformVideoAgg video : partition) {
|
|
|
VideoDetail videoDetail = videoDetailMap.get(video.getVideoId());
|
|
|
- if (videoDetail == null) {
|
|
|
- continue;
|
|
|
- }
|
|
|
- if (videoDetail.getAuditStatus() != 5 || videoDetail.getRecommendStatus() != -6) {
|
|
|
+ if (videoDetail == null
|
|
|
+ || videoDetail.getAuditStatus() != 5
|
|
|
+ || videoDetail.getRecommendStatus() != -6) {
|
|
|
planMapperExt.updateVideoStatus(video.getVideoId(), now);
|
|
|
planMapperExt.updateVideoAggStatus(video.getVideoId(), now);
|
|
|
}
|