ck 4 年 前
コミット
7fb68fd1e9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/etl/data_stat_task.py

+ 1 - 1
app/etl/data_stat_task.py

@@ -221,7 +221,7 @@ select '{dt.get_n_days(0)}' dt,
        if(last_month_cost = 0, 0, last_month_far_amount / last_month_cost) last_month_far_roi
 from (select pitcher,
              sum(cost)                                cost,
-             sum(order_amount)                        amount,
+             sum(reg_order_amount)                        amount,
              sum(follow_user) follow_user,
              if(cost = 0, 0, round(amount / cost, 2)) roi
       from dw_daily_channel