|
|
@ -463,7 +463,7 @@ public class LogService { |
|
|
|
FileOutputStream fos = null; |
|
|
|
FileOutputStream fos = null; |
|
|
|
try { |
|
|
|
try { |
|
|
|
// 输出文件,创建字节输出流
|
|
|
|
// 输出文件,创建字节输出流
|
|
|
|
File tempFile = new File(File.createTempFile("log", ".xlsx").getPath()); |
|
|
|
File tempFile = new File(File.createTempFile("log", ".xls").getPath()); |
|
|
|
fos = new FileOutputStream(tempFile); |
|
|
|
fos = new FileOutputStream(tempFile); |
|
|
|
wb.write(fos); |
|
|
|
wb.write(fos); |
|
|
|
fos.flush(); |
|
|
|
fos.flush(); |
|
|
|