| | |
| | | if (sysDept.getAncestors().contains("101") || sysDept.getDeptId().equals(101L)){ |
| | | user.setUserType("00"); |
| | | user.setRecommendPhone(deptService.getCheckDeptIdByLoginDeptId(user.getDeptId()).toString()); |
| | | } else { |
| | | user.setUserType("01"); |
| | | } |
| | | } |
| | | |
| | |
| | | SysDept sysDept = deptService.selectDeptById(user.getDeptId()); |
| | | if (sysDept.getAncestors().contains("101") || sysDept.getDeptId().equals(101L)){ |
| | | user.setUserType("00"); |
| | | } else { |
| | | user.setUserType("01"); |
| | | } |
| | | } |
| | | if (UserConstants.NOT_UNIQUE.equals(userService.checkUserNameUnique(user))) |