Browse Source

标题通过相关性分数逆序发布

luojunhui 1 month ago
parent
commit
3d1b4af04d
1 changed files with 1 additions and 0 deletions
  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)