|
@@ -23,6 +23,7 @@ import com.keao.edu.user.api.enums.ExamModeEnum;
|
|
|
import com.keao.edu.user.controller.WebSocketServer;
|
|
|
import com.keao.edu.user.dao.*;
|
|
|
import com.keao.edu.user.dto.ExamRoomStudentRelationDto;
|
|
|
+import com.keao.edu.user.dto.NeedCheckingDetailDto;
|
|
|
import com.keao.edu.user.dto.RoomStudentListDto;
|
|
|
import com.keao.edu.user.entity.*;
|
|
|
import com.keao.edu.user.page.ExamRoomStudentRelationQueryInfo;
|
|
@@ -297,11 +298,22 @@ public class ExamRoomStudentRelationServiceImpl extends BaseServiceImpl<Long, Ex
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public void stuRecorded(Long examRegistrationId) {
|
|
|
+ public NeedCheckingDetailDto stuRecorded(Long examRegistrationId) {
|
|
|
//修改考试状态为录播
|
|
|
StudentExamResult studentExamResult = studentExamResultDao.findByRegistrationId(examRegistrationId);
|
|
|
studentExamResult.setRecordFlag(1);
|
|
|
studentExamResultDao.update(studentExamResult);
|
|
|
+ //返回详情数据
|
|
|
+ return examCertificationService.needCheckingDetail(examRegistrationId);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
+ public NeedCheckingDetailDto againQueue(Long examRegistrationId) {
|
|
|
+ //清除排队状态
|
|
|
+ examRoomStudentRelationDao.cleanSignInTime(examRegistrationId);
|
|
|
+ //返回详情数据
|
|
|
+ return examCertificationService.needCheckingDetail(examRegistrationId);
|
|
|
}
|
|
|
|
|
|
@Override
|