|
@@ -137,7 +137,7 @@ public class OfflineExamServiceImpl implements OfflineExamService {
|
|
|
offlineExamCourseInfo.setPaperId(examRecordDataEntity.getBasePaperId());
|
|
|
if (examRecordDataEntity.getExamRecordStatus() == ExamRecordStatus.EXAM_END) {
|
|
|
ExamRecordForMarkingEntity examRecordForMarkingEntity = examRecordForMarkingRepo.findByExamRecordDataId(examRecordDataEntity.getId());
|
|
|
- offlineExamCourseInfo.setOfflineFileUrl(examRecordForMarkingEntity.getOfflineFileUrl());
|
|
|
+ offlineExamCourseInfo.setOfflineFileUrl(FileStorageUtil.realPath(examRecordForMarkingEntity.getOfflineFileUrl()));
|
|
|
offlineExamCourseInfo.setFileName(examRecordForMarkingEntity.getOfflineFileName());
|
|
|
}
|
|
|
}
|