mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-13 11:32:20 +08:00
完善搜索用户时可以显示用户的其他元信息(完善chineseName和department)
This commit is contained in:
@@ -54,7 +54,8 @@ public class BaseEnterpriseStaffService extends AbstractEnterpriseStaffService {
|
|||||||
}
|
}
|
||||||
List<EnterpriseStaff> staffList = new ArrayList<>();
|
List<EnterpriseStaff> staffList = new ArrayList<>();
|
||||||
for (AccountDO accountDO: doList) {
|
for (AccountDO accountDO: doList) {
|
||||||
staffList.add(new EnterpriseStaff(accountDO.getUsername(), accountDO.getUsername(), ""));
|
//这里对chineseName填充共识的displayName,Department则获取Department信息
|
||||||
|
staffList.add(new EnterpriseStaff(accountDO.getUsername(), accountDO.getDisplayName(), accountDO.getDepartment()));
|
||||||
}
|
}
|
||||||
return staffList;
|
return staffList;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user