| | |
| | | private AttachedFileService attachedFileService; |
| | | |
| | | @Autowired |
| | | private UserDepartmentService userDepartmentService; |
| | | |
| | | @Autowired |
| | | private IssueService issueService; |
| | | |
| | | @Autowired |
| | |
| | | // user에서 Permission 값을 가져와서 userVo 에 setPermission 함 |
| | | userVo.setPermission(user.getPermission()); |
| | | userVo.setAccount(CommonUtil.decryptAES128(userVo.getAccount())); |
| | | |
| | | UserLevel userLevel = user.getUserLevel(); |
| | | if (userLevel != null) { |
| | | userVo.setLevelName(userLevel.getLevelName()); |
| | | } |
| | | |
| | | List<Department> departments = this.userDepartmentService.findDepartment(user.getId()); |
| | | if (departments != null) { |
| | | userVo.setDepartmentVos(ConvertUtil.convertObjectsToClasses(departments, DepartmentVo.class)); |
| | | } |
| | | resJsonData.put(Constants.RES_KEY_CONTENTS, userVo); |
| | | // 사용자 세션 정보를 분석해서 로그에 남긴다. |
| | | log.info(ElasticSearchUtil.makeUserSessionHistoryMessage(httpServletRequest, userVo)); |