| | |
| | | departmentIds=this.getDepartmentIds(organizationChartEntitiesUser,departmentIds); |
| | | } |
| | | } |
| | | return baseMapper.selectListByDepartmentId(departmentIds,","+classifyId,classifyId+","); |
| | | if (classifyId==null) |
| | | return baseMapper.selectListByDepartmentId(departmentIds,null,null); |
| | | else |
| | | return baseMapper.selectListByDepartmentId(departmentIds,","+classifyId,classifyId+","); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public List<SysUser> queryList(Integer userType) { |
| | | return baseMapper.queryList(userType); |
| | | } |
| | | |
| | | public List<String> getDepartmentIds( List<OrganizationChartEntity> organizationChartEntities,List<String> departmentIds){ |
| | | for (OrganizationChartEntity organizationChart:organizationChartEntities) { |
| | | departmentIds.add(organizationChart.getId().toString()); |