|  | @@ -37,6 +37,21 @@ public class EduMusicScoreController extends BaseController {
 | 
	
		
			
				|  |  |      @ApiOperation(value = "树状列表")
 | 
	
		
			
				|  |  |      @GetMapping("/queryTree")
 | 
	
		
			
				|  |  |      public Object queryTree(MusicScoreQueryInfo queryInfo) {
 | 
	
		
			
				|  |  | +        SysUser sysUser = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  | +        if (sysUser == null) {
 | 
	
		
			
				|  |  | +            return failed("用户信息获取失败");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        Employee employee = employeeDao.get(sysUser.getId());
 | 
	
		
			
				|  |  | +        if (org.apache.commons.lang3.StringUtils.isEmpty(queryInfo.getOrganId())) {
 | 
	
		
			
				|  |  | +            queryInfo.setOrganId(employee.getOrganIdList());
 | 
	
		
			
				|  |  | +        }else if(org.apache.commons.lang3.StringUtils.isEmpty(employee.getOrganIdList())){
 | 
	
		
			
				|  |  | +            return failed("用户所在分部异常");
 | 
	
		
			
				|  |  | +        }else {
 | 
	
		
			
				|  |  | +            List<String> list = Arrays.asList(employee.getOrganIdList().split(","));
 | 
	
		
			
				|  |  | +            if(!list.containsAll(Arrays.asList(queryInfo.getOrganId().split(",")))){
 | 
	
		
			
				|  |  | +                return failed("非法请求");
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          return succeed(sysMusicScoreCategoriesService.queryTree(queryInfo));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |