|
@@ -150,6 +150,16 @@ public class InspectedController extends BaseExamController {
|
|
|
task = taskService.build(student);
|
|
|
}
|
|
|
}
|
|
|
+ if (query.getSecretNumber() != null) {
|
|
|
+ ExamStudent student = studentService.findByExamIdAndSecretNumber(examId, query.getSecretNumber());
|
|
|
+ if (student == null) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+ releaseStudent(student.getId());
|
|
|
+ if (inspectedService.applyStudent(student, wu.getId())) {
|
|
|
+ task = taskService.build(student);
|
|
|
+ }
|
|
|
+ }
|
|
|
int retry = 1;
|
|
|
while (task == null) {
|
|
|
List<ExamStudent> list = new ArrayList<ExamStudent>();
|