|
@@ -2387,7 +2387,8 @@ public class PitcherDataServiceImpl implements IPitcherDataService {
|
|
|
first_role_rate,
|
|
|
new_user_total_role_rate,
|
|
|
role_num_rate,
|
|
|
- new_user_amount_ratio
|
|
|
+ new_user_amount_ratio,
|
|
|
+ total_five_hundred_user_count
|
|
|
FROM
|
|
|
""" + tableName;
|
|
|
}
|
|
@@ -2878,6 +2879,7 @@ public class PitcherDataServiceImpl implements IPitcherDataService {
|
|
|
ROUND(IF(SUM(new_user_total_amount_num) > 0 , SUM(new_user_total_amount) / SUM(new_user_total_amount_num), 0), 2) as today_arpu,
|
|
|
ROUND(IF(SUM(amount_num) > 0 , SUM(amount) / SUM(amount_num), 0), 2) as paper_arpu,
|
|
|
SUM(hundred_user_num) as hundred_user_num,
|
|
|
+ SUM(total_five_hundred_user_count) AS total_five_hundred_user_count,
|
|
|
ROUND(IF(SUM(hundred_user_num) > 0 , SUM(cost) / SUM(hundred_user_num), 0), 2) as hundred_user_num_cost,
|
|
|
ROUND(IF(SUM(cost) > 0 , SUM(da1) / SUM(cost), 0), 4) as roi1,
|
|
|
ROUND(IF(SUM(cost) > 0 , SUM(da2) / SUM(cost), 0), 4) as roi2,
|