|
@@ -3789,6 +3789,9 @@ 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,
|
|
|
IFNULL(SUM(hundred_user_num), 0) as hundred_user_num,
|
|
|
ROUND(IF(SUM(hundred_user_num) > 0 , SUM(cost) / SUM(hundred_user_num), 0), 2) as hundred_user_num_cost,
|
|
|
+ SUM(new_user_total_zfb_amount) AS new_user_total_zfb_amount,
|
|
|
+ SUM(new_user_total_wx_amount) AS new_user_total_wx_amount,
|
|
|
+ SUM(new_user_total_mds_amount) AS new_user_total_mds_amount,
|
|
|
""" + pitcherDataTotalRoiSql() +
|
|
|
"""
|
|
|
ROUND(IF(SUM(IF(DATE_ADD(dt, INTERVAL 59 day) <= LocalDate.now(), cost, 0)) > 0 ,
|