浏览代码

Merge branch '2024-10-21-luojunhui-update_avg_v3-bugfix' of luojunhui/LongArticlesJob into master

luojunhui 1 年之前
父节点
当前提交
4f2c34e469
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      updateAccountV3.py

+ 2 - 1
updateAccountV3.py

@@ -41,7 +41,8 @@ class UpdateAccountInfoVersion3(object):
             SELECT 
                 gh_id, position, read_rate_avg
             FROM
-                long_articles_read_rate;
+                long_articles_read_rate
+            WHERE is_delete = 0;
         """
         result = self.lam.select(sql)
         account_read_rate_dict = {}