|
@@ -8,9 +8,23 @@ du = DateUtils()
|
|
|
yestoday = du.get_n_days(-1)
|
|
|
today = du.get_n_days(0)
|
|
|
|
|
|
-if __name__ == '__main__':
|
|
|
- pass
|
|
|
- # 清洗订单表
|
|
|
+
|
|
|
+def do_order():
|
|
|
ods_order(today)
|
|
|
+ order_sync_ck(today)
|
|
|
+def do_cost():
|
|
|
+ dw_daily_channel_cost(today)
|
|
|
+ dw_order_channel_cost_sync_ck(today)
|
|
|
+
|
|
|
+def main():
|
|
|
+ do_order()
|
|
|
+ do_cost()
|
|
|
+
|
|
|
+if __name__ == '__main__':
|
|
|
+ main()
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|