ck vor 4 Jahren
Ursprung
Commit
cdc300f2c9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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,
             first_order_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,
             round(if(cost=0,0,reg_amount/cost),4)  today_roi,
             reg_amount-cost profit