Browse Source

3.1.0-归档管理原图获取方式变更,没有轨迹也可以下载原图bug

xiaof 2 years ago
parent
commit
e5d36a3ca9

+ 1 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/TSyncExamStudentScoreServiceImpl.java

@@ -285,7 +285,7 @@ public class TSyncExamStudentScoreServiceImpl extends ServiceImpl<TSyncExamStude
                 }
             }
         } finally {
-            if (Objects.nonNull(fileSourceList)) {
+            if (oss && Objects.nonNull(fileSourceList)) {
                 for (File f : fileSourceList) {
                     f.delete();
                 }