|
@@ -1341,6 +1341,12 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
cri.where().andEquals("server_id", dto.getServerId());
|
|
cri.where().andEquals("server_id", dto.getServerId());
|
|
}
|
|
}
|
|
cri.where().andInList("game_id", Arrays.asList(35L, 36L, 10035L));
|
|
cri.where().andInList("game_id", Arrays.asList(35L, 36L, 10035L));
|
|
|
|
+ if(dto.getCountryLevel()!=null&&dto.getCountryLevel()==0){
|
|
|
|
+ cri.where().andLTE("role_level",13);
|
|
|
|
+ }
|
|
|
|
+ if(dto.getCountryLevel()!=null&&dto.getCountryLevel()==1){
|
|
|
|
+ cri.where().andGT("role_level",13);
|
|
|
|
+ }
|
|
return cri;
|
|
return cri;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1383,7 +1389,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
a.game_id,
|
|
a.game_id,
|
|
a.server_name,
|
|
a.server_name,
|
|
IFNULL(c.role_total_amount, 0) as role_total_amount,
|
|
IFNULL(c.role_total_amount, 0) as role_total_amount,
|
|
- if(b.role_level <= 13, 1, 0) as country_level,
|
|
|
|
|
|
+ if(b.role_level <= 13, 0, 1) as country_level,
|
|
if(d.role_id is not null, 1, 0) as active,
|
|
if(d.role_id is not null, 1, 0) as active,
|
|
a.server_id,
|
|
a.server_id,
|
|
concat(a.country,',',a.server_id) as cs
|
|
concat(a.country,',',a.server_id) as cs
|