| | |
| | | // } |
| | | if (!CollectionUtils.isEmpty(user.getDeptCodes())) { |
| | | for (String deptCode : user.getDeptCodes()) { |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), user.getCampusid(), deptCode); |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), deptCode); |
| | | if (ObjectUtils.isEmpty(sysDept)) { |
| | | continue; |
| | | } |
| | |
| | | } |
| | | if (!CollectionUtils.isEmpty(user.getWardCodes())) { |
| | | for (String wardCode : user.getWardCodes()) { |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), user.getCampusid(), wardCode); |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), wardCode); |
| | | if (ObjectUtils.isEmpty(sysDept)) { |
| | | continue; |
| | | } |
| | |
| | | // } |
| | | if (!CollectionUtils.isEmpty(user.getDeptCodes())) { |
| | | for (String deptCode : user.getDeptCodes()) { |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), user.getCampusid(), deptCode); |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), deptCode); |
| | | if (ObjectUtils.isEmpty(sysDept)) { |
| | | continue; |
| | | } |
| | |
| | | } |
| | | if (!CollectionUtils.isEmpty(user.getWardCodes())) { |
| | | for (String wardCode : user.getWardCodes()) { |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), user.getCampusid(), wardCode); |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(user.getOrgid(), wardCode); |
| | | if (ObjectUtils.isEmpty(sysDept)) { |
| | | continue; |
| | | } |