|
@@ -310,6 +310,9 @@ public class ExamScoreDataCloudServiceProvider extends ControllerSupport impleme
|
|
|
for(ExamRecordEntity examRecord:examRecordList){
|
|
|
ExamRecordDataEntity examRecordData = examRecordDataRepo.findByExamRecordId(examRecord.getId());
|
|
|
ExamScoreEntity examScore = examScoreRepo.findByExamRecordDataId(examRecordData.getId());
|
|
|
+ if (examScore==null){
|
|
|
+ throw new StatusException("100001","该考生未交卷");
|
|
|
+ }
|
|
|
|
|
|
ScoreDataBean scoreDataBean = new ScoreDataBean();
|
|
|
scoreDataBean.setExamRecordDataId(examRecordData.getId());
|