|
@@ -240,10 +240,13 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
// 更新用户名称
|
|
|
private void updateUserName(Map<String, Object> map, String userIdKey, String userNameKey, ResultVO<Map<Long, String>> userMap) {
|
|
|
Object userIdObj = map.get(userIdKey);
|
|
|
+ log.error("userIdObj:{}", userIdObj);
|
|
|
if (userIdObj != null) {
|
|
|
try {
|
|
|
long userId = Long.parseLong(userIdObj.toString());
|
|
|
+ log.error("userId:{}", userId);
|
|
|
String userName = userMap.getData().get(userId);
|
|
|
+ log.error("用户名称:{}",userName);
|
|
|
if (userName != null) {
|
|
|
map.put(userNameKey, userName);
|
|
|
}
|