|
@@ -191,7 +191,7 @@ public class ContentPlatformVideoJob {
|
|
|
|| videoDetail.getAuditStatus() != 5) {
|
|
|
planMapperExt.updateVideoStatus(video.getVideoId(), 0, now);
|
|
|
planMapperExt.updateVideoAggStatus(video.getVideoId(), 0, now);
|
|
|
- } else if (videoDetail.getRecommendStatus() == -6) {
|
|
|
+ } else if (videoDetail.getRecommendStatus() == -6 && video.getStatus() == 0) {
|
|
|
planMapperExt.updateVideoStatus(video.getVideoId(), 1, now);
|
|
|
planMapperExt.updateVideoAggStatus(video.getVideoId(), 1, now);
|
|
|
}
|
|
@@ -202,7 +202,7 @@ public class ContentPlatformVideoJob {
|
|
|
|
|
|
private List<ContentPlatformVideoAgg> getVideoListByDt(String dt) {
|
|
|
ContentPlatformVideoAggExample example = new ContentPlatformVideoAggExample();
|
|
|
- example.createCriteria().andDtEqualTo(dt).andStatusEqualTo(1);
|
|
|
+ example.createCriteria().andDtEqualTo(dt);
|
|
|
return videoAggMapper.selectByExample(example);
|
|
|
}
|
|
|
|