ck vor 4 Jahren
Ursprung
Commit
649c1e8ab8
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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,