From 8c10eb7086cb61712747b96dae712526d90e5269 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 06 三月 2023 15:45:31 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/service/all/UploadAttachService.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/lf/server/service/all/UploadAttachService.java b/src/main/java/com/lf/server/service/all/UploadAttachService.java
index 53cb4b3..84de858 100644
--- a/src/main/java/com/lf/server/service/all/UploadAttachService.java
+++ b/src/main/java/com/lf/server/service/all/UploadAttachService.java
@@ -413,7 +413,7 @@
     /**
      * 璇锋眰涓嬭浇
      */
-    public String downloadReqForGuids(UserEntity ue, String[] guids) {
+    public String downloadReqForGuids(UserEntity ue, List<String> guids) {
         List<AttachEntity> list = attachService.selectByGuids(guids);
 
         return downloadReq(ue, list);
@@ -422,7 +422,7 @@
     /**
      * 璇锋眰涓嬭浇
      */
-    public String downloadReqForTabGuids(UserEntity ue, String tab, String[] guids) {
+    public String downloadReqForTabGuids(UserEntity ue, String tab, List<String> guids) {
         List<AttachEntity> list = attachService.selectByTabGuids(tab, guids);
 
         return downloadReq(ue, list);
@@ -440,7 +440,7 @@
         String zipFile = pathHelper.getDownloadFullPath() + File.separator + zipName;
 
         ZipFile zip = Zip4jHelper.createZipFile(zipFile, null);
-        ZipParameters params = Zip4jHelper.getZipParams();
+        ZipParameters params = Zip4jHelper.getZipParams(false);
         addZipFiles(zip, params, list);
 
         DownloadEntity downloadEntity = getDownloadEntity(ue, zipFile, null);

--
Gitblit v1.9.3