|
@@ -136,9 +136,10 @@ public class ExamScoreController extends ControllerSupport {
|
|
|
if (examRecordData.getIsWarn() && !examRecordData.getIsAudit()) {
|
|
|
objectiveScoreInfo.setIsAuditing(true);
|
|
|
} else if (!examRecordData.getIsWarn() || (examRecordData.getIsWarn() && examRecordData.getIsAudit())) {
|
|
|
- ExamScoreEntity examScore = examScoreRepo.findByExamRecordDataId(examRecordData.getId());
|
|
|
objectiveScoreInfo.setIsAuditing(false);
|
|
|
- objectiveScoreInfo.setObjectiveScore(examScore.getObjectiveScore());
|
|
|
+
|
|
|
+ //缓存中的分数是存储在临时考试记录表中的,所以需要从考试记录缓存中取
|
|
|
+ objectiveScoreInfo.setObjectiveScore(examRecordData.getObjectiveScore());
|
|
|
}
|
|
|
objectiveScoreInfo.setIsIllegality(false);
|
|
|
} else {
|