mirror of https://github.com/elunez/eladmin
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
parent
0f9a9b1c83
commit
3e8b4f3dfd
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue