|  | @@ -105,11 +105,17 @@ public class MusicGroupController extends BaseController {
 | 
	
		
			
				|  |  |      @ApiImplicitParams({@ApiImplicitParam(name = "musicGroupId", value = "乐团id", required = true, dataType = "String"),
 | 
	
		
			
				|  |  |              @ApiImplicitParam(name = "userId", value = "用户id", required = true, dataType = "int")
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  | -    public HttpResponseResult getMusicGroupStatus(String musicGroupId,Integer userId) throws Exception {
 | 
	
		
			
				|  |  | +    public HttpResponseResult getMusicGroupStatus(String musicGroupId, Integer userId) throws Exception {
 | 
	
		
			
				|  |  |          MusicGroup musicGroup = musicGroupService.get(musicGroupId);
 | 
	
		
			
				|  |  |          if (musicGroup == null) {
 | 
	
		
			
				|  |  |              return failed("乐团不存在");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        if (userId == null) {
 | 
	
		
			
				|  |  | +            SysUser sysUser = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  | +            userId = sysUser.getId();
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          StudentRegistration studentRegistration = studentRegistrationService.queryByUserIdAndMusicGroupId(userId, musicGroupId);
 | 
	
		
			
				|  |  |          if (studentRegistration == null) {
 | 
	
		
			
				|  |  |              return failed(HttpStatus.CONTINUE, "乐团报名信息不存在");
 | 
	
	
		
			
				|  | @@ -370,9 +376,9 @@ public class MusicGroupController extends BaseController {
 | 
	
		
			
				|  |  |          MusicGroup musicGroup = musicGroupService.get(orderByOrderNo.getMusicGroupId());
 | 
	
		
			
				|  |  |          List<Goods> goodsList = studentPaymentOrderDetailService.findApplyOrderGoods(orderByOrderNo.getId());
 | 
	
		
			
				|  |  |          HashMap<String, Object> orderDetail = new HashMap<>();
 | 
	
		
			
				|  |  | -        orderDetail.put("order",orderByOrderNo);
 | 
	
		
			
				|  |  | -        orderDetail.put("goods",goodsList);
 | 
	
		
			
				|  |  | -        orderDetail.put("course",musicGroup.getCourseForm());
 | 
	
		
			
				|  |  | +        orderDetail.put("order", orderByOrderNo);
 | 
	
		
			
				|  |  | +        orderDetail.put("goods", goodsList);
 | 
	
		
			
				|  |  | +        orderDetail.put("course", musicGroup.getCourseForm());
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          return succeed(orderDetail);
 | 
	
		
			
				|  |  |      }
 |