haogh hai 1 ano
pai
achega
df90776b77

+ 1 - 1
src/main/java/com/qmth/exam/reserve/service/impl/StudentApplyServiceImpl.java

@@ -571,7 +571,7 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
         if (student == null) {
             throw new StatusException(" 考生信息填写错误");
         }
-        if (student.getApplyTaskId().equals(task.getId())) {
+        if (!student.getApplyTaskId().equals(task.getId())) {
             throw new StatusException(" 当前任务下不存在该考生");
         }
         return student;