| | |
| | | import kr.wisestone.owl.util.*; |
| | | import kr.wisestone.owl.vo.*; |
| | | import kr.wisestone.owl.web.condition.UserCondition; |
| | | import kr.wisestone.owl.web.form.DepartmentForm; |
| | | import kr.wisestone.owl.web.form.UserForm; |
| | | import kr.wisestone.owl.web.view.ExcelView; |
| | | import org.apache.commons.validator.routines.EmailValidator; |
| | |
| | | |
| | | @Autowired |
| | | private ProjectService projectService; |
| | | |
| | | @Autowired |
| | | private IssueTypeService issueTypeService; |
| | | |
| | | @Autowired |
| | | private UserSecurityService userSecurityService; |
| | |
| | | this.userWorkspaceService.addUserWorkspace(user, workspace, true, true); |
| | | |
| | | // 기본으로 제공되는 프로젝트를 생성한다. |
| | | // this.projectService.addDefaultProject(user, workspace); |
| | | this.projectService.addDefaultProject(user, workspace); |
| | | |
| | | // 기본으로 제공되는 프로젝트를 이슈 유형의 사용 프로젝트로 설정 |
| | | this.issueTypeService.addDefaultUsedProject(workspace); |
| | | |
| | | user.setLastWorkspaceId(workspace.getId()); |
| | | |
| | |
| | | return this.convertUserVoToMap(results, totalUsersCount, pageable, resJsonData); |
| | | } |
| | | |
| | | // 사용자 정보를 가져온다. |
| | | @Override |
| | | @Transactional(readOnly = true) |
| | | public void findMyLevelAndDepartment(Map<String, Object> resJsonData) { |
| | | Long loginId = this.webAppUtil.getLoginId(); |
| | | Map<String, Object> result = this.userMapper.findByMyLevelAndDepartment(loginId); |
| | | resJsonData.put(Constants.RES_KEY_CONTENTS, result); |
| | | } |
| | | |
| | | // 사용자 아이디로 사용자를 조회한다. |
| | | @Override |
| | | @Transactional(readOnly = true) |