|
@@ -8,7 +8,7 @@ du=DateUtils()
|
|
|
|
|
|
|
|
|
def cost_data(dt=du.get_n_days(-1)):
|
|
|
- sql="select count(1) from `order` where date=UNIX_TIMESTAMP('{}')".format(dt)
|
|
|
+ sql="select count(1) from `ods_order` where date='{}'".format(dt)
|
|
|
sql2="select count(1) from daily_qq where date='{} 00:00:00' ".format(dt)
|
|
|
sql3="select count(1) from daily_vx where date='{} 00:00:00' ".format(dt)
|
|
|
sql4="select count(1) from daily_vx_campaign where date='{} 00:00:00' ".format(dt)
|