|
@@ -1070,7 +1070,13 @@ public class PromotionDayServiceImpl implements IAdsPromotionDayService {
|
|
|
day7_amount_per_count,
|
|
|
day7_arpu,
|
|
|
day7_amount_num,
|
|
|
- day7_amount
|
|
|
+ day7_amount,
|
|
|
+ day7_one_hundred_amount_num,
|
|
|
+ day7_one_hundred_amount_num_cost,
|
|
|
+ day7_two_hundred_amount_num,
|
|
|
+ day7_two_hundred_amount_num_cost,
|
|
|
+ new_user_two_hundred_user_num,
|
|
|
+ new_user_two_hundred_user_num_cost
|
|
|
FROM
|
|
|
game_ads.ads_promotion_day
|
|
|
""";
|
|
@@ -1187,7 +1193,13 @@ public class PromotionDayServiceImpl implements IAdsPromotionDayService {
|
|
|
ROUND(if(SUM(day7_amount_num) > 0, SUM(day7_amount_count) / SUM(day7_amount_num), 0), 2) as day7_amount_per_count,
|
|
|
ROUND(if(SUM(day7_amount_num) > 0, SUM(day7_amount) / SUM(day7_amount_num), 0), 2) as day7_arpu,
|
|
|
SUM(day7_amount) as day7_amount,
|
|
|
- SUM(day7_amount_num) as day7_amount_num
|
|
|
+ SUM(day7_amount_num) as day7_amount_num,
|
|
|
+ SUM(day7_one_hundred_amount_num) as day7_one_hundred_amount_num ,
|
|
|
+ SUM(day7_one_hundred_amount_num_cost) as day7_one_hundred_amount_num_cost,
|
|
|
+ SUM(day7_two_hundred_amount_num) as day7_two_hundred_amount_num,
|
|
|
+ SUM(day7_two_hundred_amount_num_cost) as day7_two_hundred_amount_num_cost,
|
|
|
+ SUM(new_user_two_hundred_user_num) as new_user_two_hundred_user_num,
|
|
|
+ SUM(new_user_two_hundred_user_num_cost) as new_user_two_hundred_user_num_cost
|
|
|
FROM
|
|
|
game_ads.ads_promotion_day
|
|
|
""" + criA +
|
|
@@ -1324,7 +1336,13 @@ public class PromotionDayServiceImpl implements IAdsPromotionDayService {
|
|
|
ROUND(if(SUM(day7_amount_num) > 0, SUM(day7_amount_count) / SUM(day7_amount_num), 0), 2) as day7_amount_per_count,
|
|
|
ROUND(if(SUM(day7_amount_num) > 0, SUM(day7_amount) / SUM(day7_amount_num), 0), 2) as day7_arpu,
|
|
|
SUM(day7_amount) as day7_amount,
|
|
|
- SUM(day7_amount_num) as day7_amount_num
|
|
|
+ SUM(day7_amount_num) as day7_amount_num,
|
|
|
+ SUM(day7_one_hundred_amount_num) as day7_one_hundred_amount_num,
|
|
|
+ SUM(day7_one_hundred_amount_num_cost) as day7_one_hundred_amount_num_cost,
|
|
|
+ SUM(day7_two_hundred_amount_num) as day7_two_hundred_amount_num,
|
|
|
+ SUM(day7_two_hundred_amount_num_cost) as day7_two_hundred_amount_num_cost,
|
|
|
+ SUM(new_user_two_hundred_user_num) as new_user_two_hundred_user_num,
|
|
|
+ SUM(new_user_two_hundred_user_num_cost) as new_user_two_hundred_user_num_cost
|
|
|
FROM
|
|
|
game_ads.ads_promotion_day
|
|
|
""";
|