luojunhui 1 месяц назад
Родитель
Сommit
f8ffab364a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      tasks/title_rewrite_task.py

+ 1 - 0
tasks/title_rewrite_task.py

@@ -154,6 +154,7 @@ class TitleRewriteTask:
             where bad_status = {const.ARTICLE_POSITIVE_STATUS} 
                 and audit_status = {const.ARTICLE_AUDIT_PASSED_STATUS} 
                 and title_rewrite_status = {const.TITLE_REWRITE_INIT_STATUS}
+                and platform = 'hksp'
             limit {batch_size};
         """
         res = self.db.fetch(query=sql, cursor_type=DictCursor)