ck vor 4 Jahren
Ursprung
Commit
b6806fdeba
1 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
  1. 8 8
      data_manage/pitcher_panel.py

+ 8 - 8
data_manage/pitcher_panel.py

@@ -93,14 +93,14 @@ if(total_cost=0,0,total_amount/total_cost) total_roi from
 def get_pitcher_panel_overview(pitcher):
 def get_pitcher_panel_overview(pitcher):
     db=MysqlUtils()
     db=MysqlUtils()
     sql=f"""select  pitcher,
     sql=f"""select  pitcher,
-        total_cost,
-        total_amount,
-        roi , 
-       channel_count,
-     on_channel_count,
-    off_channel_count,
-    this_month_cost this_month_cost,
-  this_month_amount this_month_amount,
+        total_cost cost,
+        total_amount amount,
+        total_roi roi, 
+        channel_count,
+        on_channel_count,
+       off_channel_count,
+       this_month_cost this_month_cost,
+      this_month_amount this_month_amount,
     this_month_roi this_month_roi,
     this_month_roi this_month_roi,
     last_month_cost last_month_cost,
     last_month_cost last_month_cost,
     last_month_amount last_month_amount,
     last_month_amount last_month_amount,