|  | @@ -1,6 +1,5 @@
 | 
	
		
			
				|  |  |  package com.ym.mec.teacher.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.dal.dto.ImLiveBroadcastRoomDto;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.dto.RoomReservationUserSearch;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.page.LiveRoomGoodsOrderQueryInfo;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.vo.BaseRoomUserVo;
 | 
	
	
		
			
				|  | @@ -12,18 +11,14 @@ import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.entity.HttpResponseResult;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.entity.ImUserState;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.page.PageInfo;
 | 
	
		
			
				|  |  | -import com.ym.mec.common.page.WrapperUtil;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.*;
 | 
	
		
			
				|  |  |  import org.springframework.security.access.prepost.PreAuthorize;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import javax.annotation.Resource;
 | 
	
		
			
				|  |  | -import javax.servlet.http.HttpServletResponse;
 | 
	
		
			
				|  |  |  import javax.validation.Valid;
 | 
	
		
			
				|  |  | -import java.io.IOException;
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  |  import java.util.Map;
 | 
	
		
			
				|  |  | -import java.util.concurrent.CompletableFuture;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * 直播房间管理表(ImLiveBroadcastRoom)表控制层
 | 
	
	
		
			
				|  | @@ -70,17 +65,6 @@ public class TeacherImLiveBroadcastRoomController extends BaseController {
 | 
	
		
			
				|  |  |          return succeed(imLiveBroadcastRoomService.queryRoomUser(query));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    @ApiImplicitParams({
 | 
	
		
			
				|  |  | -            @ApiImplicitParam(name = "search", dataType = "String", value = "模糊查询关键字"),
 | 
	
		
			
				|  |  | -            @ApiImplicitParam(name = "subjectId", dataType = "Integer", value = "声部id"),
 | 
	
		
			
				|  |  | -            @ApiImplicitParam(name = "organId", dataType = "Integer", value = "分部id"),
 | 
	
		
			
				|  |  | -    })
 | 
	
		
			
				|  |  | -    @ApiOperation(value = "导出训练营详情")
 | 
	
		
			
				|  |  | -    @PostMapping(value = "/exportReservationRoomUser")
 | 
	
		
			
				|  |  | -    public void exportReservationRoomUser(@RequestBody RoomReservationUserSearch query, HttpServletResponse response) throws IOException {
 | 
	
		
			
				|  |  | -        imLiveBroadcastRoomService.exportReservationRoomUser(query, response);
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      @ApiOperation("查询房间信息并校验房间是否合规")
 | 
	
		
			
				|  |  |      @GetMapping("/queryRoom")
 | 
	
		
			
				|  |  |      public HttpResponseResult<ImLiveBroadcastRoomVo> queryRoomAndCheck(@ApiParam(value = "房间uid", required = true) String roomUid,
 | 
	
	
		
			
				|  | @@ -88,11 +72,6 @@ public class TeacherImLiveBroadcastRoomController extends BaseController {
 | 
	
		
			
				|  |  |          return succeed(imLiveBroadcastRoomService.queryRoomAndCheck(roomUid, userId, 2));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    /**
 | 
	
		
			
				|  |  | -     * 关闭直播间
 | 
	
		
			
				|  |  | -     *
 | 
	
		
			
				|  |  | -     * @param id 房间表id
 | 
	
		
			
				|  |  | -     */
 | 
	
		
			
				|  |  |      @ApiOperation("关闭直播间")
 | 
	
		
			
				|  |  |      @GetMapping(value = "/roomDestroy/{id}")
 | 
	
		
			
				|  |  |      public HttpResponseResult<Object> roomDestroy(@ApiParam(value = "房间表id", required = true) @PathVariable("id") Integer id) {
 | 
	
	
		
			
				|  | @@ -100,15 +79,6 @@ public class TeacherImLiveBroadcastRoomController extends BaseController {
 | 
	
		
			
				|  |  |          return succeed();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    @ApiOperation("推广直播间-每个机构只能有一个直播间在首页推广")
 | 
	
		
			
				|  |  | -    @GetMapping("/opsPopularize")
 | 
	
		
			
				|  |  | -    @PreAuthorize("@pcs.hasPermissions('imLiveBroadcastRoom/opsPopularize')")
 | 
	
		
			
				|  |  | -    public HttpResponseResult<Object> opsPopularize(@ApiParam(value = "房间id", required = true) Integer id,
 | 
	
		
			
				|  |  | -                                                    @ApiParam(value = "是否在首页推广 0否 1是", required = true) Integer popularize) {
 | 
	
		
			
				|  |  | -        imLiveBroadcastRoomService.opsPopularize(id, popularize);
 | 
	
		
			
				|  |  | -        return succeed();
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      @ApiOperation("同步点赞数量")
 | 
	
		
			
				|  |  |      @GetMapping("/syncLike")
 | 
	
		
			
				|  |  |      public HttpResponseResult<Object> syncLike(@ApiParam(value = "房间uid", required = true) String roomUid,
 |