浏览代码

updateAccountV3.py

查询阅读率均值,增加is_delete判断
luojunhui 1 年之前
父节点
当前提交
6d7c18ec58
共有 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 = {}