ck 4 gadi atpakaļ
vecāks
revīzija
253cbb7ecf
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      data_manage/pitcher_panel.py

+ 2 - 2
data_manage/pitcher_panel.py

@@ -452,8 +452,8 @@ select toDate(formatDateTime(reg_time,'%Y-%m-%d')) dt,
 def get_channel_order_trend(channel,pitcher,start,end,page,page_size,order_by,order):
     if get_channel_belong_pitcher(channel)!=pitcher:
         return [],0
-    sql=f"""select '{channel}' channel,toString(dt) date,book,toDecimal32(cost,2),reg_order_amount,roi,new_follow_user,new_follow_per_cost,order_user,order_count,
-       order_user_per_cost,
+    sql=f"""select '{channel}' channel,toString(dt) date,book,toDecimal32(cost,2),toDecimal32(reg_order_amount,2),roi,new_follow_user,new_follow_per_cost,order_user,order_count,
+       toDecimal32(order_user_per_cost,2),
        concat(toString(r1),',',toString(r1/cost),',', toString(a1/cost),',',toString(b1)),
        concat(toString(a2),',',toString(r2/cost),',', toString(a2/cost),',',toString(b2)),
  concat(toString(a3),',',toString(r3/cost),',', toString(a3/cost),',',toString(b3)),