|
@@ -932,6 +932,14 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
|
|
|
private Criteria getSqlByQuery(RoleLevelParamDTO dto) {
|
|
|
Criteria criA = Cnd.cri();
|
|
|
+ if(CollectionUtils.isNotEmpty(dto.getUserId())){
|
|
|
+ //玩家id
|
|
|
+ criA.where().andInList("user_id", dto.getUserId());
|
|
|
+ }
|
|
|
+ if (StringUtils.isNotEmpty(dto.getUserName())) {
|
|
|
+ //玩家名称
|
|
|
+ criA.where().andLike("user_name", dto.getUserName());
|
|
|
+ }
|
|
|
if (StringUtils.isNotEmpty(dto.getServerName())) {
|
|
|
//区服名称
|
|
|
criA.where().andLike("server_name", dto.getServerName());
|
|
@@ -981,6 +989,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
role_id as roleId,
|
|
|
role_name as roleName,
|
|
|
user_id as userId,
|
|
|
+ user_name as userName,
|
|
|
game_id as gameId,
|
|
|
game_name as gameName,
|
|
|
server_id as serverId,
|