|
@@ -735,4 +735,23 @@ public class ExamAuditServiceImpl implements ExamAuditService {
|
|
examScoreObtainQueueService.sendObtainScoreNotify(examRecordData.getRootOrgId());
|
|
examScoreObtainQueueService.sendObtainScoreNotify(examRecordData.getRootOrgId());
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public void saveExceedMaxSwitchScreenCount(Long realExamRecordDataId) {
|
|
|
|
+ ExamAuditEntity examAudit = examAuditRepo.findByExamRecordDataId(realExamRecordDataId);
|
|
|
|
+ if (examAudit != null) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ ExamAuditEntity examAuditEntity = new ExamAuditEntity();
|
|
|
|
+ examAuditEntity.setExamRecordDataId(realExamRecordDataId);
|
|
|
|
+ examAuditEntity.setDisciplineType(DisciplineType.EXCEED_MAX_SWITCH_SCREEN_COUNT.name());
|
|
|
|
+ examAuditEntity.setDisciplineDetail(null);
|
|
|
|
+ examAuditEntity.setUserId(DisciplineType.EXCEED_MAX_SWITCH_SCREEN_COUNT.name());
|
|
|
|
+ examAuditEntity.setAuditUserName(AUDIT_USER_NAME);
|
|
|
|
+ examAuditEntity.setStatus(AuditStatus.UN_PASS);
|
|
|
|
+ examAuditRepo.save(examAuditEntity);
|
|
|
|
+
|
|
|
|
+ // 修改考试记录为违纪、异常、已审
|
|
|
|
+ this.disciplineExamRecordData(realExamRecordDataId);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|