fix: 处理视频的筛选条件加上必须是视频稿件

This commit is contained in:
amtoaer
2024-03-31 15:18:27 +08:00
parent f60ee2ed1d
commit b7ec11039c
+1
View File
@@ -213,6 +213,7 @@ pub async fn unhandled_videos_pages(
.eq(favorite_model.id) .eq(favorite_model.id)
.and(video::Column::Valid.eq(true)) .and(video::Column::Valid.eq(true))
.and(video::Column::DownloadStatus.lt(Status::handled())) .and(video::Column::DownloadStatus.lt(Status::handled()))
.and(video::Column::Category.eq(2))
.and(video::Column::SinglePage.is_not_null()), .and(video::Column::SinglePage.is_not_null()),
) )
.find_with_related(page::Entity) .find_with_related(page::Entity)