|
|
@@ -39,7 +39,7 @@ public class UserInfoServiceImpl extends ServiceImpl<NdUserInfoMapper, UserInfo> |
|
|
|
@Override |
|
|
|
public Map<String, ProcessInstanceUserDto> getUserMapByIds(Set<String> staterUsers) { |
|
|
|
List<UserInfo> userInfos = userInfoMapper.selectBatchIds(staterUsers); |
|
|
|
List<ProcessInstanceUserDto> resVos = userInfos.stream().map(u -> { |
|
|
|
return userInfos.stream().map(u -> { |
|
|
|
ProcessInstanceUserDto userInfo = new ProcessInstanceUserDto(); |
|
|
|
userInfo.setUserId(String.valueOf(u.getId())); |
|
|
|
userInfo.setUserName(u.getRealName()); |
|
|
@@ -58,8 +58,7 @@ public class UserInfoServiceImpl extends ServiceImpl<NdUserInfoMapper, UserInfo> |
|
|
|
userInfo.setOrgCode(organizationCode); |
|
|
|
userInfo.setOrgName(organizationName); |
|
|
|
return userInfo; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
return resVos.stream().collect(Collectors.toMap((ProcessInstanceUserDto::getUserId), v -> v)); |
|
|
|
}).collect(Collectors.toMap((ProcessInstanceUserDto::getUserId), v -> v)); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|