ck há 4 anos atrás
pai
commit
685fbcb1ad
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      app/etl/rds_order_ck.py

+ 2 - 2
app/etl/rds_order_ck.py

@@ -20,7 +20,7 @@ def run(mydt):
     log.debug("run [{}] data".format(mydt))
     col = "date,stage,platform,channel,channel_id,user_id,order_time,reg_time,amount,from_novel,order_id"
 
-    sql ="select * from `order` where date=UNIX_TIMESTAMP('{}') and platform!='阳光'".format(mydt)
+    sql ="select * from `order` where date=UNIX_TIMESTAMP('{}') ".format(mydt)
 
     data = db.quchen_text.getData(sql)
 
@@ -69,7 +69,7 @@ def run(mydt):
 
 
 if __name__ == '__main__':
-    # dt_li =dt.getDateLists('2019-03-18','2020-01-01')
+    # dt_li =dt.getDateLists('2020-11-25','2020-11-27')
     # for i in dt_li:
     #     run(i)