ck 4 years ago
parent
commit
cdc300f2c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data_manage/pitcher_panel.py

+ 1 - 1
data_manage/pitcher_panel.py

@@ -56,7 +56,7 @@ def get_pitcher_panel_daily(pitcher, start, end, page, page_size, order_by, orde
             pitcher,cost,
             pitcher,cost,
             first_order_amount,
             first_order_amount,
             reg_amount,
             reg_amount,
-            round(if(cost=0,0,first_reg_amount/cost),4) first_roi,
+            round(if(cost=0,0,first_order_amount/cost),4) first_roi,
             amount order_amount,
             amount order_amount,
             round(if(cost=0,0,reg_amount/cost),4)  today_roi,
             round(if(cost=0,0,reg_amount/cost),4)  today_roi,
             reg_amount-cost profit
             reg_amount-cost profit