Parcourir la source

Merge branch '2025-03-10-publish-improve' of luojunhui/LongArticlesJob into master

luojunhui il y a 7 mois
Parent
commit
e949103349
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      coldStartTasks/publish/publish_video_to_pq_for_audit.py

+ 1 - 0
coldStartTasks/publish/publish_video_to_pq_for_audit.py

@@ -40,6 +40,7 @@ class PublishVideosForAudit(object):
             SELECT id, article_title, video_oss_path 
             FROM publish_single_video_source 
             WHERE audit_status = {const.VIDEO_AUDIT_INIT_STATUS} and bad_status = {const.TITLE_DEFAULT_STATUS}
+            ORDER BY score DESC
             LIMIT {rest_count};
             """
         response = self.db_client.fetch(sql, cursor_type=DictCursor)