Browse Source

将update_time
修改为 publish_timestamp

luojunhui 7 months ago
parent
commit
6597f01a2d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      updateMinigramInfoDaily.py

+ 2 - 2
updateMinigramInfoDaily.py

@@ -45,9 +45,9 @@ class DailyDataManager(object):
         biz_date_ts = biz_date_midnight.timestamp()
         biz_date_end_ts = biz_date_ts + 24 * 60 * 60 - 1
         sql2 = f"""
-        select ContentUrl, wx_sn, updateTime, accountName, title
+        select ContentUrl, wx_sn, publish_timestamp, accountName, title
         from official_articles_v2
-        where updateTime between {biz_date_ts} and {biz_date_end_ts};
+        where publish_timestamp between {biz_date_ts} and {biz_date_end_ts};
 --         and accountName in (
 --                         select distinct account_name from account_avg_info_v2
 --                         );