|
@@ -39,7 +39,7 @@ public class MyExcelUtil {
|
|
|
|
|
|
|
|
String filePath = localPath+File.separator + fileName;
|
|
String filePath = localPath+File.separator + fileName;
|
|
|
if(!new File(filePath).getParentFile().exists()){
|
|
if(!new File(filePath).getParentFile().exists()){
|
|
|
- new File(filePath).mkdirs();
|
|
|
|
|
|
|
+ new File(filePath).getParentFile().mkdirs();
|
|
|
}
|
|
}
|
|
|
excelWriter = EasyExcel.write(filePath)
|
|
excelWriter = EasyExcel.write(filePath)
|
|
|
.withTemplate(inputStream)
|
|
.withTemplate(inputStream)
|