|
@@ -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,
|