|
|
@@ -525,7 +525,9 @@ public class OrganizationUserServiceImpl extends SuperService {
|
|
|
if (StringUtils.isNotEmpty(projectOid) && StringUtils.isNotEmpty(userId)) {
|
|
|
List<OrganizationUser> _list = getUserOrgList(userId, projectOid);
|
|
|
if (ObjectUtils.isNotEmpty(_list)) {
|
|
|
- return _list.stream().map(OrganizationUser::getOid).collect(Collectors.toList());
|
|
|
+ return _list.stream().map(it -> {
|
|
|
+ return it.getOrganization().getOid();
|
|
|
+ }).collect(Collectors.toList());
|
|
|
}
|
|
|
}
|
|
|
return Lists.newArrayList();
|