ck 4 anos atrás
pai
commit
8985a83637
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      data_manage/pitcher_panel.py

+ 1 - 1
data_manage/pitcher_panel.py

@@ -452,7 +452,7 @@ 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,todecimal(cost,2),reg_order_amount,roi,new_follow_user,new_follow_per_cost,order_user,order_count,
+    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,
        concat(toString(r1),',',toString(r1/cost),',', toString(a1/cost),',',toString(b1)),
        concat(toString(a2),',',toString(r2/cost),',', toString(a2/cost),',',toString(b2)),