ck 4 年之前
父節點
當前提交
649c1e8ab8
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      app/etl/data_stat_daily.py
  2. 2 2
      app/etl/data_stat_task.py

+ 1 - 1
app/etl/data_stat_daily.py

@@ -28,7 +28,7 @@ def run(ymd):
 
 if __name__ == '__main__':
     run(yestoday)
-    dw_daily_channel_plus()
+    dw_daily_channel()
 
 
 

+ 2 - 2
app/etl/data_stat_task.py

@@ -136,9 +136,9 @@ def order_account_text():
             db.quchen_text.execute("insert into order_account_text(platform,text) values ('文鼎','{}')".format(i))
 
 
-def dw_daily_channel_plus():
+def dw_daily_channel():
     """快照表 每日一更新  t-1"""
-    sql="""insert into dw_daily_channel_plus
+    sql="""insert into dw_daily_channel
 select
        dt,channel,pitcher,stage,platform,book,
        order_count,order_user,order_amount,first_order_count,first_order_user,first_order_amount,