|
@@ -93,7 +93,7 @@ public class ReportFileServiceImpl extends ServiceImpl<ReportFileMapper, ReportF
|
|
}
|
|
}
|
|
File file = new File(filePath);
|
|
File file = new File(filePath);
|
|
if (file.exists()) {
|
|
if (file.exists()) {
|
|
- byte[] bytes = new byte[1024];
|
|
|
|
|
|
+ byte[] bytes = new byte[4096];
|
|
ZipEntry entry = new ZipEntry(file.getName());
|
|
ZipEntry entry = new ZipEntry(file.getName());
|
|
zipOutputStream.putNextEntry(entry);
|
|
zipOutputStream.putNextEntry(entry);
|
|
FileInputStream fileInputStream = new FileInputStream(file);
|
|
FileInputStream fileInputStream = new FileInputStream(file);
|