|
@@ -166,10 +166,10 @@ public class InvAccountServiceImpl extends ServiceImpl<InvAccountMapper, InvAcco
|
|
|
|
|
|
|
|
File folder = new File(uploadFilePath);
|
|
File folder = new File(uploadFilePath);
|
|
|
if (folder.exists()){
|
|
if (folder.exists()){
|
|
|
- return HttpResult.ok( EasyExcelUtils.noModelWrite(uploadFilePath, invAccountProfitList, insAccounts, list));
|
|
|
|
|
|
|
+ return HttpResult.ok("",EasyExcelUtils.noModelWrite(uploadFilePath, invAccountProfitList, insAccounts, list));
|
|
|
}else {
|
|
}else {
|
|
|
if (folder.mkdirs()){
|
|
if (folder.mkdirs()){
|
|
|
- return HttpResult.ok( EasyExcelUtils.noModelWrite(uploadFilePath, invAccountProfitList, insAccounts, list));
|
|
|
|
|
|
|
+ return HttpResult.ok( "",EasyExcelUtils.noModelWrite(uploadFilePath, invAccountProfitList, insAccounts, list));
|
|
|
}else {
|
|
}else {
|
|
|
throw new SystemException("文件导出失败");
|
|
throw new SystemException("文件导出失败");
|
|
|
}
|
|
}
|