소스 검색

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 = {}