|
@@ -203,10 +203,10 @@ public class InspectedController extends BaseExamController {
|
|
|
Task task = null;
|
|
|
if (studentId != null) {
|
|
|
ExamStudent student = studentService.findById(studentId);
|
|
|
- if (exam.getInspectUnrepeated() && inspectHistoryService.existByStudentIdAndUserId(studentId, wu.getId())) {
|
|
|
- errMessage("考试已设置为全卷多次复核时不能为同一账号", response);
|
|
|
- return null;
|
|
|
- }
|
|
|
+// if (exam.getInspectUnrepeated() && inspectHistoryService.existByStudentIdAndUserId(studentId, wu.getId())) {
|
|
|
+// errMessage("考试已设置为全卷多次复核时不能为同一账号", response);
|
|
|
+// return null;
|
|
|
+// }
|
|
|
releaseStudent(studentId);
|
|
|
if (inspectedService.applyStudent(ExamStudentVo.of(student), wu.getId())) {
|
|
|
task = taskService.build(student);
|
|
@@ -216,10 +216,10 @@ public class InspectedController extends BaseExamController {
|
|
|
if (student == null) {
|
|
|
return null;
|
|
|
}
|
|
|
- if (exam.getInspectUnrepeated() && inspectHistoryService.existByStudentIdAndUserId(studentId, wu.getId())) {
|
|
|
- errMessage("考试已设置为全卷多次复核时不能为同一账号", response);
|
|
|
- return null;
|
|
|
- }
|
|
|
+// if (exam.getInspectUnrepeated() && inspectHistoryService.existByStudentIdAndUserId(studentId, wu.getId())) {
|
|
|
+// errMessage("考试已设置为全卷多次复核时不能为同一账号", response);
|
|
|
+// return null;
|
|
|
+// }
|
|
|
releaseStudent(student.getId());
|
|
|
if (inspectedService.applyStudent(ExamStudentVo.of(student), wu.getId())) {
|
|
|
task = taskService.build(student);
|