fixed: contains unreadable message on job column when download users as .xlsx (#372)

Co-authored-by: Wentao chang <wentao.chang@activenetwork.com>
pull/394/head
arwen 2020-05-25 11:31:37 +08:00 committed by GitHub
parent 0f9a9b1c83
commit 3e8b4f3dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ public class UserServiceImpl implements UserService {
map.put("用户名", userDTO.getUsername());
map.put("角色", roles);
map.put("部门", userDTO.getDept().getName());
map.put("岗位", userDTO.getJobs().stream().map(JobSmallDto::getName).toString());
map.put("岗位", userDTO.getJobs().stream().map(JobSmallDto::getName).collect(Collectors.toList()));
map.put("邮箱", userDTO.getEmail());
map.put("状态", userDTO.getEnabled() ? "启用" : "禁用");
map.put("手机号码", userDTO.getPhone());