|
@@ -7,6 +7,7 @@ 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.user.api.entity.ExamRoomStudentRelation;
|
|
import com.keao.edu.user.api.entity.ExamRoomStudentRelation;
|
|
import com.keao.edu.user.dto.ExamRoomStudentRelationDto;
|
|
import com.keao.edu.user.dto.ExamRoomStudentRelationDto;
|
|
|
|
+import com.keao.edu.user.dto.RoomStudentListDto;
|
|
import com.keao.edu.user.entity.Employee;
|
|
import com.keao.edu.user.entity.Employee;
|
|
import com.keao.edu.user.page.ExamRoomStudentRelationQueryInfo;
|
|
import com.keao.edu.user.page.ExamRoomStudentRelationQueryInfo;
|
|
import com.keao.edu.user.service.EmployeeService;
|
|
import com.keao.edu.user.service.EmployeeService;
|
|
@@ -19,6 +20,7 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
+import java.util.List;
|
|
import java.util.Objects;
|
|
import java.util.Objects;
|
|
|
|
|
|
@RestController
|
|
@RestController
|
|
@@ -47,6 +49,13 @@ public class ExamRoomStudentRelationController extends BaseController {
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation("获取考场学员队列")
|
|
|
|
+ @PostMapping(value = "/queryStudentList")
|
|
|
|
+ public HttpResponseResult queryStudentList(Long roomId) {
|
|
|
|
+ List<RoomStudentListDto> roomStudentListDtos = examRoomStudentRelationService.queryStudentList(roomId);
|
|
|
|
+ return succeed();
|
|
|
|
+ }
|
|
|
|
+
|
|
@ApiOperation("获取教室学员关联")
|
|
@ApiOperation("获取教室学员关联")
|
|
@PostMapping(value = "/getExamRoomStudentRelation")
|
|
@PostMapping(value = "/getExamRoomStudentRelation")
|
|
public ExamRoomStudentRelation getExamRoomStudentRelation(Integer basicId, String roomId, Integer studentId) {
|
|
public ExamRoomStudentRelation getExamRoomStudentRelation(Integer basicId, String roomId, Integer studentId) {
|