|
@@ -80,11 +80,11 @@ public class PlayerDataServiceImpl implements IPlayerDataService {
|
|
|
//判断是否实名
|
|
|
if (BooleanUtils.isFalse(dto.getIsAuth())) {
|
|
|
//未实名
|
|
|
- cri.where().andEquals("authentication", 0);
|
|
|
+ cri.where().andEquals("auth", 0);
|
|
|
}
|
|
|
if (BooleanUtils.isTrue(dto.getIsAuth())) {
|
|
|
//实名
|
|
|
- cri.where().andInList("authentication", List.of(1L, 2L));
|
|
|
+ cri.where().andInList("auth", List.of(1L, 2L));
|
|
|
}
|
|
|
if (dto.getCpId() != null) {
|
|
|
cri.where().andEquals("cp_id", dto.getCpId());
|
|
@@ -234,6 +234,7 @@ public class PlayerDataServiceImpl implements IPlayerDataService {
|
|
|
h.game_name as relation_game_name ,
|
|
|
a.relation_user_id as relation_user_id ,
|
|
|
a.relation_create_time as relation_create_time ,
|
|
|
+ a.`authentication` as auth,
|
|
|
TIMESTAMPDIFF(SECOND , a.create_time, b.last_recharge_time) as reg_pay_time_diff
|
|
|
FROM dm_game_order.t_game_user a
|
|
|
left join (
|
|
@@ -286,6 +287,7 @@ public class PlayerDataServiceImpl implements IPlayerDataService {
|
|
|
SUM(real_amount) as amount ,
|
|
|
COUNT(user_id) as amount_count
|
|
|
from dm_game_order.t_game_order
|
|
|
+ where status = 2
|
|
|
group by user_id , source_system
|
|
|
) i on a.id = i.user_id and a.source_system = i.source_system
|
|
|
) k
|
|
@@ -330,7 +332,9 @@ public class PlayerDataServiceImpl implements IPlayerDataService {
|
|
|
h.id as relation_game_id ,
|
|
|
h.game_name as relation_game_name ,
|
|
|
a.relation_user_id as relation_user_id ,
|
|
|
- a.relation_create_time as relation_create_time
|
|
|
+ a.relation_create_time as relation_create_time ,
|
|
|
+ a.`authentication` as auth,
|
|
|
+ TIMESTAMPDIFF(SECOND , a.create_time, b.last_recharge_time) as reg_pay_time_diff
|
|
|
FROM dm_game_order.t_game_user a
|
|
|
left join (
|
|
|
select
|
|
@@ -382,6 +386,7 @@ public class PlayerDataServiceImpl implements IPlayerDataService {
|
|
|
SUM(real_amount) as amount ,
|
|
|
COUNT(user_id) as amount_count
|
|
|
from dm_game_order.t_game_order
|
|
|
+ where status = 2
|
|
|
group by user_id , source_system
|
|
|
) i on a.id = i.user_id and a.source_system = i.source_system
|
|
|
) k
|