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