瀏覽代碼

fix 修改批量下载接口

DYH2020 2 年之前
父節點
當前提交
543d81ab56
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/ywt/mg/services/enterprise/ApplyProjectService.java

+ 1 - 0
src/main/java/com/ywt/mg/services/enterprise/ApplyProjectService.java

@@ -107,6 +107,7 @@ public class ApplyProjectService {
                 zipFileName += request.getUploadTimeStart().replace("-", "") + "~" + request.getUploadTimeEnd().replace("-", "");
             }
             zipFileName += ".zip";
+            FileUtil.createFoldersIfNotExit(rootPrefix + zipFileName);
             ZipFileUtil.stringFileUrlToZip(rootPrefix + zipFileName, fileUrl);
 
             // 4、将打包的文件传给客户端