Browse Source

修改获取用户姓名 公共方法

tags/v1.1.0
wanghaoran 2 years ago
parent
commit
398102fa74
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java View File

@@ -313,7 +313,7 @@ public class MissionServiceImpl extends BaseServiceImpl<ThMissionMapper, ThMissi

List<User> users = userMapper.selectList(new LambdaQueryWrapper<User>().in(User::getId, userId));
for (User user : users) {
userName.put(user.getId(),user.getUsername());
userName.put(user.getId(),user.getRealname());
}
return userName;
}

Loading…
Cancel
Save