ck преди 4 години
родител
ревизия
0a8150b0df
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      app/etl/dw/dw_channel_daily.py

+ 0 - 2
app/etl/dw/dw_channel_daily.py

@@ -64,8 +64,6 @@ select formatDateTime(reg_time,'%Y-%m-%d') reg_date,channel,count(1) user_order_
 
     data=ck.execute('select * from dw_daily_channel')
     insert_sql="insert into dw_channel_daily values (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)"
-    db.dm.execute("truncate table dw_channel_daily")
-    db.dm.executeMany(insert_sql,data)
 
     db.quchen_text.execute("truncate table dw_channel_daily")
     db.quchen_text.executeMany(insert_sql,data)