|
@@ -80,7 +80,8 @@ def get_pitcher_panel_overview(pitcher):
|
|
|
toDecimal32(last_month_amount,2) last_month_amount,
|
|
|
toDecimal32(last_month_roi,4) last_month_roi,
|
|
|
toDecimal32(last_month_far_amount,2) last_month_far_amount,
|
|
|
- follow_user
|
|
|
+ follow_user,
|
|
|
+ toDecimal32(last_month_far_roi,2) last_month_far_roi
|
|
|
from dm_pitcher_daily_page_total where dt='{du.get_n_days(-1)}'"""
|
|
|
|
|
|
if pitcher != 'all':
|
|
@@ -91,7 +92,7 @@ def get_pitcher_panel_overview(pitcher):
|
|
|
print(data)
|
|
|
|
|
|
key=['pitcher','cost','amount','roi','channel_count','on_channel_count','off_channel_count','this_month_cost','this_month_amount','this_month_roi',
|
|
|
- 'last_month_cost','last_month_amount','last_month_roi','last_month_far_amount','follow_user']
|
|
|
+ 'last_month_cost','last_month_amount','last_month_roi','last_month_far_amount','follow_user','last_month_far_roi']
|
|
|
return get_dict_list(key,data)
|
|
|
|
|
|
|