|
@@ -195,8 +195,8 @@ public class ExamRecordCloudServiceProvider extends ControllerSupport implements
|
|
|
//待阅卷的考试记录集合
|
|
|
List<ToBeMarkExamRecordBean> toBeMarkExamRecordBeanList = new ArrayList<>();
|
|
|
for (Long examStudentId : req.getExamStudentIdList()) {
|
|
|
- ExamStudentEntity examStudent =
|
|
|
- GlobalHelper.getEntity(examStudentRepo, examStudentId, ExamStudentEntity.class);
|
|
|
+ ExamStudentEntity examStudent =examStudentRepo.findByExamStudentId(examStudentId);
|
|
|
+
|
|
|
if (null == examStudent.getStudentId()) {
|
|
|
throw new StatusException("100101", "考生id:" + examStudentId + "不正确");
|
|
|
}
|