fix: 限制文件名
This commit is contained in:
+1
-1
@@ -1989,7 +1989,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
ByteArrayOutputStream baosZip = new ByteArrayOutputStream();
|
||||
try (ZipOutputStream zos = new ZipOutputStream(baosZip)) {
|
||||
// 添加第一个文件到ZIP中
|
||||
ZipEntry entry1 = new ZipEntry("企标标准导入模板.xlsx");
|
||||
ZipEntry entry1 = new ZipEntry("企业标准导入模板.xlsx");
|
||||
zos.putNextEntry(entry1);
|
||||
zos.write(mainWorkbookBytes);
|
||||
zos.closeEntry();
|
||||
|
||||
Reference in New Issue
Block a user