Bläddra i källkod

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

luojunhui 3 månader sedan
förälder
incheckning
e949103349
1 ändrade filer med 1 tillägg och 0 borttagningar
  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)