| | |
| | | flushCache(username); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public void download(List<UserDto> queryAll, HttpServletResponse response) throws IOException { |
| | | List<Map<String, Object>> list = new ArrayList<>(); |
| | |
| | | map.put("部门", userDTO.getDept().getName()); |
| | | map.put("岗位", userDTO.getJobs().stream().map(JobSmallDto::getName).collect(Collectors.toList())); |
| | | map.put("邮箱", userDTO.getEmail()); |
| | | map.put("钉钉ID", userDTO.getDingding()); |
| | | map.put("排班ID", userDTO.getSysRostering().getId()); |
| | | map.put("状态", userDTO.getEnabled() ? "启用" : "禁用"); |
| | | map.put("手机号码", userDTO.getPhone()); |
| | | map.put("修改密码的时间", userDTO.getPwdResetTime()); |