|
@@ -146,7 +146,7 @@ def get_channel_overview(channel,pitcher,start,end,page,page_size,order_by,order
|
|
round(if(total_cost=0,0,total_amount/total_cost),4) all_roi,
|
|
round(if(total_cost=0,0,total_amount/total_cost),4) all_roi,
|
|
round(if(total_cost=0,0,total_first_amount/total_cost),4) avg_new_order_rate,
|
|
round(if(total_cost=0,0,total_first_amount/total_cost),4) avg_new_order_rate,
|
|
round(if(reg_order_user=0,0,reg_order_user_again/reg_order_user),4) old_user_once_order_rate,
|
|
round(if(reg_order_user=0,0,reg_order_user_again/reg_order_user),4) old_user_once_order_rate,
|
|
- pitcher from dw_channel_daily where 1=1 {op1} {op2} {op3} {op4} {op5} """
|
|
|
|
|
|
+ pitcher,stage from dw_channel_daily where 1=1 {op1} {op2} {op3} {op4} {op5} """
|
|
|
|
|
|
print(sql)
|
|
print(sql)
|
|
return getLimitData(db.quchen_text,sql,page,page_size)
|
|
return getLimitData(db.quchen_text,sql,page,page_size)
|