|
@@ -167,7 +167,7 @@ from
|
|
|
sum(amount) as order_amount
|
|
|
from order group by date,channel) d
|
|
|
on dt=dt4 and channel=channel4;"""
|
|
|
- ck.execute("truncate table dw_daily_channel_plus")
|
|
|
+ ck.execute("truncate table dw_daily_channel")
|
|
|
ck.execute(sql)
|
|
|
print("ok")
|
|
|
|
|
@@ -180,6 +180,8 @@ if __name__ == '__main__':
|
|
|
# ods_order('2020-12-20')
|
|
|
# dw_daily_channel_plus()
|
|
|
# exit()
|
|
|
+ dw_daily_channel()
|
|
|
+ exit(0)
|
|
|
|
|
|
for i in dt.getDateLists('2019-03-18','2020-12-20'):
|
|
|
print(i)
|