|
@@ -123,7 +123,8 @@ public class TIeInvigilateCallMobileController {
|
|
|
@RequestMapping(value = "/call/count", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "监考监控信息", response = Integer.class)})
|
|
|
public Result callCount(@ApiParam(value = "考试批次id", required = true) @RequestParam Long examId,
|
|
|
- @ApiParam(value = "通话状态", required = false) @RequestParam(required = false) String callStatus) {
|
|
|
+ @ApiParam(value = "通话状态", required = false) @RequestParam(required = false) String callStatus,
|
|
|
+ @ApiParam(value = "虚拟考场代码", required = false) @RequestParam(required = false) String roomCode) {
|
|
|
if (Objects.isNull(examId) || Objects.equals(examId, "")) {
|
|
|
throw new BusinessException(ExceptionResultEnum.EXAM_ID_IS_NULL);
|
|
|
}
|
|
@@ -140,7 +141,7 @@ public class TIeInvigilateCallMobileController {
|
|
|
}
|
|
|
int count = tIeExamInvigilateCallService
|
|
|
.examInvigilateCallQueryCount(examId, userId, tbUser.getOrgId(), MonitorStatusSourceEnum.START.name(),
|
|
|
- callStatus);
|
|
|
+ callStatus, roomCode);
|
|
|
return ResultUtil.ok(Collections.singletonMap("count", count));
|
|
|
}
|
|
|
|