|
@@ -75,7 +75,7 @@ public class TIeInvigilateController {
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "监考监控信息", response = InvigilateListBean.class)})
|
|
|
public Result list(@ApiParam(value = "考试批次id") @RequestParam Long examId,
|
|
|
@ApiParam(value = "考试场次id", required = false) @RequestParam(required = false) Long examActivityId,
|
|
|
- @ApiParam(value = "虚拟考场代码", required = false) @RequestParam(required = false) String roomCode,
|
|
|
+ @ApiParam(value = "虚拟考场代码", required = true) @RequestParam Set<String> roomCodes,
|
|
|
@ApiParam(value = "试题下载状态", required = false) @RequestParam(required = false) Integer paperDownload,
|
|
|
@ApiParam(value = "考生状态", required = false) @RequestParam(required = false) String status,
|
|
|
@ApiParam(value = "姓名", required = false) @RequestParam(required = false) String name,
|
|
@@ -89,7 +89,7 @@ public class TIeInvigilateController {
|
|
|
if (Objects.isNull(examId) || Objects.equals(examId, "")) {
|
|
|
throw new BusinessException(ExceptionResultEnum.EXAM_ID_IS_NULL);
|
|
|
}
|
|
|
- IPage<InvigilateListBean> invigilateListBeanIPage = tOeExamRecordService.invigilatePageList(new Page<>(pageNumber, pageSize), examId, examActivityId, roomCode, paperDownload, status, name, identity, minWarningCount, maxWarningCount, clientWebsocketStatus, monitorStatusSource);
|
|
|
+ IPage<InvigilateListBean> invigilateListBeanIPage = tOeExamRecordService.invigilatePageList(new Page<>(pageNumber, pageSize), examId, examActivityId, roomCodes, paperDownload, status, name, identity, minWarningCount, maxWarningCount, clientWebsocketStatus, monitorStatusSource);
|
|
|
BasePage basePage = new BasePage(invigilateListBeanIPage.getRecords(), invigilateListBeanIPage.getCurrent(), invigilateListBeanIPage.getSize(), invigilateListBeanIPage.getTotal());
|
|
|
Map map = new HashMap<>();
|
|
|
map.put(SystemConstant.RECORDS, basePage);
|
|
@@ -101,7 +101,7 @@ public class TIeInvigilateController {
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "监考监控信息", response = InvigilateListVideoBean.class)})
|
|
|
public Result listVideo(@ApiParam(value = "考试批次id") @RequestParam Long examId,
|
|
|
@ApiParam(value = "考试场次id", required = false) @RequestParam(required = false) Long examActivityId,
|
|
|
- @ApiParam(value = "虚拟考场代码", required = false) @RequestParam(required = false) String roomCode,
|
|
|
+ @ApiParam(value = "虚拟考场代码", required = true) @RequestParam Set<String> roomCodes,
|
|
|
@ApiParam(value = "试题下载状态", required = false) @RequestParam(required = false) Integer paperDownload,
|
|
|
@ApiParam(value = "考生状态", required = false) @RequestParam(required = false) String status,
|
|
|
@ApiParam(value = "姓名", required = false) @RequestParam(required = false) String name,
|
|
@@ -115,7 +115,7 @@ public class TIeInvigilateController {
|
|
|
if (Objects.isNull(examId) || Objects.equals(examId, "")) {
|
|
|
throw new BusinessException(ExceptionResultEnum.EXAM_ID_IS_NULL);
|
|
|
}
|
|
|
- IPage<InvigilateListVideoBean> invigilateListVideoBeanIPage = tOeExamRecordService.invigilatePageListVideo(new Page<>(pageNumber, pageSize), examId, examActivityId, roomCode, paperDownload, status, name, identity, minWarningCount, maxWarningCount, clientWebsocketStatus, monitorStatusSource);
|
|
|
+ IPage<InvigilateListVideoBean> invigilateListVideoBeanIPage = tOeExamRecordService.invigilatePageListVideo(new Page<>(pageNumber, pageSize), examId, examActivityId, roomCodes, paperDownload, status, name, identity, minWarningCount, maxWarningCount, clientWebsocketStatus, monitorStatusSource);
|
|
|
BasePage basePage = new BasePage(invigilateListVideoBeanIPage.getRecords(), invigilateListVideoBeanIPage.getCurrent(), invigilateListVideoBeanIPage.getSize(), invigilateListVideoBeanIPage.getTotal());
|
|
|
Map map = new HashMap<>();
|
|
|
map.put(SystemConstant.RECORDS, basePage);
|