|
@@ -740,10 +740,10 @@ public class GameServerServiceImpl implements IGameServerService {
|
|
|
select a.source_system,
|
|
select a.source_system,
|
|
|
a.server_id,
|
|
a.server_id,
|
|
|
a.parent_game_id,
|
|
a.parent_game_id,
|
|
|
- GROUP_CONCAT(CONCAT(CAST(小R AS CHAR))) as small_r,
|
|
|
|
|
- GROUP_CONCAT(CONCAT(CAST(中R AS CHAR))) as medium_r,
|
|
|
|
|
- GROUP_CONCAT(CONCAT(CAST(大R AS CHAR))) as large_r,
|
|
|
|
|
- GROUP_CONCAT(CONCAT(CAST(超R AS CHAR))) as super_r
|
|
|
|
|
|
|
+ GROUP_CONCAT(CONCAT(CAST(xiao_r AS CHAR))) as small_r,
|
|
|
|
|
+ GROUP_CONCAT(CONCAT(CAST(zhong_r AS CHAR))) as medium_r,
|
|
|
|
|
+ GROUP_CONCAT(CONCAT(CAST(da_r AS CHAR))) as large_r,
|
|
|
|
|
+ GROUP_CONCAT(CONCAT(CAST(chao_r AS CHAR))) as super_r
|
|
|
from game_ads_parent.ads_game_server_gs_day_parent a
|
|
from game_ads_parent.ads_game_server_gs_day_parent a
|
|
|
left join game_ads_parent.ads_game_server_gs_r_day_parent e
|
|
left join game_ads_parent.ads_game_server_gs_r_day_parent e
|
|
|
on a.source_system = e.source_system and a.server_id = e.server_id and
|
|
on a.source_system = e.source_system and a.server_id = e.server_id and
|
|
@@ -812,15 +812,15 @@ public class GameServerServiceImpl implements IGameServerService {
|
|
|
|
|
|
|
|
private String getGSGameServerRDateSql(Criteria cri) {
|
|
private String getGSGameServerRDateSql(Criteria cri) {
|
|
|
return """
|
|
return """
|
|
|
- select
|
|
|
|
|
|
|
+ select
|
|
|
source_system,
|
|
source_system,
|
|
|
order_day,
|
|
order_day,
|
|
|
server_id,
|
|
server_id,
|
|
|
parent_game_id,
|
|
parent_game_id,
|
|
|
- IFNULL(any_value(小R),0) as small_r,
|
|
|
|
|
- IFNULL(any_value(中R),0) as medium_r,
|
|
|
|
|
- IFNULL(any_value(大R),0) as large_r,
|
|
|
|
|
- IFNULL(any_value(超R),0) as super_r
|
|
|
|
|
|
|
+ IFNULL(any_value(xiao_r),0) as small_r,
|
|
|
|
|
+ IFNULL(any_value(zhong_r),0) as medium_r,
|
|
|
|
|
+ IFNULL(any_value(da_r),0) as large_r,
|
|
|
|
|
+ IFNULL(any_value(chao_r),0) as super_r
|
|
|
from game_ads_parent.ads_game_server_gs_r_day_parent
|
|
from game_ads_parent.ads_game_server_gs_r_day_parent
|
|
|
""" + cri + """
|
|
""" + cri + """
|
|
|
group by server_id,parent_game_id,source_system,order_day
|
|
group by server_id,parent_game_id,source_system,order_day
|