|
@@ -3,13 +3,10 @@ package com.keao.edu.user.controller;
|
|
import com.keao.edu.common.controller.BaseController;
|
|
import com.keao.edu.common.controller.BaseController;
|
|
import com.keao.edu.common.entity.HttpResponseResult;
|
|
import com.keao.edu.common.entity.HttpResponseResult;
|
|
import com.keao.edu.common.page.PageInfo;
|
|
import com.keao.edu.common.page.PageInfo;
|
|
-import com.keao.edu.common.page.QueryInfo;
|
|
|
|
import com.keao.edu.user.dto.ExamRoomStudentRelationDto;
|
|
import com.keao.edu.user.dto.ExamRoomStudentRelationDto;
|
|
-import com.keao.edu.user.entity.ExamRoomStudentRelation;
|
|
|
|
import com.keao.edu.user.page.ExamRoomStudentRelationQueryInfo;
|
|
import com.keao.edu.user.page.ExamRoomStudentRelationQueryInfo;
|
|
import com.keao.edu.user.service.ExamRoomStudentRelationService;
|
|
import com.keao.edu.user.service.ExamRoomStudentRelationService;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -26,7 +23,7 @@ public class ExamRoomStudentRelationController extends BaseController {
|
|
private ExamRoomStudentRelationService examRoomStudentRelationService;
|
|
private ExamRoomStudentRelationService examRoomStudentRelationService;
|
|
|
|
|
|
@ApiOperation("开启/关闭教室")
|
|
@ApiOperation("开启/关闭教室")
|
|
- @GetMapping(value = "/list")
|
|
|
|
|
|
+ @GetMapping(value = "/switchClassRoom")
|
|
public HttpResponseResult switchClassRoom(Integer openFlag,Integer examinationBasicId,Integer studentId) {
|
|
public HttpResponseResult switchClassRoom(Integer openFlag,Integer examinationBasicId,Integer studentId) {
|
|
examRoomStudentRelationService.switchClassRoom(openFlag,examinationBasicId,studentId);
|
|
examRoomStudentRelationService.switchClassRoom(openFlag,examinationBasicId,studentId);
|
|
return succeed();
|
|
return succeed();
|