ck 4 年之前
父節點
當前提交
83f6ff18ad
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data_manage/pitcher_panel.py

+ 1 - 1
data_manage/pitcher_panel.py

@@ -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':'-'
         }