| | |
| | | } |
| | | return ids; |
| | | } |
| | | } |
| | | else if(StringUtils.equals("2", sysUser.getUserType())) |
| | | } else if (StringUtils.equals("4", sysUser.getUserType())) { |
| | | if (StringUtils.isEmpty(sysUser.getDataPermission())) { |
| | | return null; |
| | | } |
| | | else |
| | | { |
| | | List<String> ids = new ArrayList<>(); |
| | | if (sysUser.getDataPermission().indexOf(",")>0) |
| | | { |
| | | String[] idl=sysUser.getDataPermission().split(","); |
| | | Collections.addAll(ids,idl); |
| | | } |
| | | else |
| | | { |
| | | ids.add(sysUser.getDataPermission()); |
| | | } |
| | | return ids; |
| | | } |
| | | } else if(StringUtils.equals("2", sysUser.getUserType())) |
| | | { |
| | | //导办人员 |
| | | List<String> ids=iOrganizationChartService.getIds(sysUser.getDepartmentId()); |