|  | @@ -17,6 +17,7 @@ import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiImplicitParam;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiImplicitParams;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | +import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.http.HttpStatus;
 | 
	
		
			
				|  |  |  import org.springframework.ui.ModelMap;
 | 
	
	
		
			
				|  | @@ -65,12 +66,15 @@ public class MusicGroupController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation("获取学生个人中心乐团信息")
 | 
	
		
			
				|  |  |      @GetMapping(value = "/queryPersonalMusicGroups")
 | 
	
		
			
				|  |  | -    public Object queryPersonalMusicGroups() {
 | 
	
		
			
				|  |  | +    public Object queryPersonalMusicGroups(String musicGroupId) {
 | 
	
		
			
				|  |  |          SysUser sysUser = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  |          if (sysUser == null) {
 | 
	
		
			
				|  |  |              return failed("获取用户信息失败");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        return succeed(musicGroupService.queryPersonalMusicGroups(sysUser.getId()));
 | 
	
		
			
				|  |  | +        if(StringUtils.isEmpty(musicGroupId)){
 | 
	
		
			
				|  |  | +            return failed("参数校验错误");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        return succeed(musicGroupService.queryPersonalMusicGroups(sysUser.getId(),musicGroupId));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation(value = "根据学员编号,获取有关联的老师列表")
 |