|
@@ -105,7 +105,7 @@ public class ExcelAnalyseCoreServiceImpl implements ExcelAnalyseCoreService {
|
|
|
return fileImportInfoService.getById(wrapper.getId());
|
|
|
|
|
|
}catch (NotOfficeXmlFileException e) {
|
|
|
- throw new BizException("上传文件格式版本太低");
|
|
|
+ throw new BizException("文件名格式错误");
|
|
|
} catch (Exception e) {
|
|
|
log.error("asyncAnalyseReadExcelData wrapper={}", wrapper.jsonString(), e);
|
|
|
}
|
|
@@ -160,8 +160,6 @@ public class ExcelAnalyseCoreServiceImpl implements ExcelAnalyseCoreService {
|
|
|
log.info("createFileImportRecord uploadFile={}, resp={}", uploadFile, context.getResp());
|
|
|
// 删除本地缓存文件
|
|
|
DownloadManager.getInstance().deleteOnExit(respPath);
|
|
|
- } else if (StringUtils.isNotEmpty(respPath)) {
|
|
|
- context.setResp(wrapper.getImportUrl());
|
|
|
}
|
|
|
}
|
|
|
|