xiatian 5 năm trước cách đây
mục cha
commit
a20e2e6b65

+ 1 - 1
examcloud-core-oe-admin-service/src/main/java/cn/com/qmth/examcloud/core/oe/admin/service/impl/OfflineExamServiceImpl.java

@@ -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());
             }
         }