|
@@ -697,7 +697,7 @@ from order where channel='{channel}' and dt>='{start}' group by formatDateTime(
|
|
|
order_count+=i['order_count']
|
|
|
order_user_per_cost+=i['order_user_per_cost']
|
|
|
count= len(data)
|
|
|
- di={'cost':round(cost,2),'reg_amount':reg_amount,'roi':round(roi/count,4), 'new_follow_user':new_follow_user,
|
|
|
+ di={'cost':round(cost,2),'reg_amount':round(reg_amount,2),'roi':round(roi/count,4), 'new_follow_user':new_follow_user,
|
|
|
'new_follow_per_cost':round(new_follow_per_cost/count,2),'order_user':order_user,'order_count':order_count,
|
|
|
'order_user_per_cost':round(order_user_per_cost/count,2),'channel':'-','date':'总计','book':'-'
|
|
|
}
|