桌码下载修改
This commit is contained in:
@@ -148,11 +148,13 @@ public class ShopTableServiceImpl extends ServiceImpl<ShopTableMapper, ShopTable
|
||||
ZipEntry entry = new ZipEntry(fileNames.get(i));
|
||||
zipOut.putNextEntry(entry);
|
||||
ByteArrayOutputStream byteArrayOutputStream = qrBytesList.get(i);
|
||||
zipOut.write(byteArrayOutputStream.toByteArray());
|
||||
byte[] byteArray = byteArrayOutputStream.toByteArray();
|
||||
zipOut.write(byteArray, 0, byteArray.length);
|
||||
zipOut.flush();
|
||||
zipOut.closeEntry();
|
||||
byteArrayOutputStream.close();
|
||||
}
|
||||
zipOut.flush();
|
||||
zipOut.finish();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user