@@ -142,7 +142,7 @@ public class InvwCardDetailsManagerImpl extends AbstractInvwManager implements I | |||
File file = EasyExcelUtil.exportExcelFile(InvwCardDetailsExcelModel.class, excelModelList2, "卡设备"); | |||
String filePath = minioUtil.fileUploadHttp(file, BucketFileBus.INVW); | |||
CommExcelFileResponseDTO responseDTO = new CommExcelFileResponseDTO(); | |||
return responseDTO.setFilePath(filePath); | |||
return responseDTO.setFilePath(minioUtil.getOuterUrl(filePath)); | |||
} | |||
@Override |
@@ -163,7 +163,7 @@ public class InvwObuDetailsManagerImpl extends AbstractInvwManager implements In | |||
File file = EasyExcelUtil.exportExcelFile(InvwObuDetailsExcelModel.class, excelModelList2, "签设备"); | |||
String filePath = minioUtil.fileUploadHttp(file, BucketFileBus.INVW); | |||
CommExcelFileResponseDTO responseDTO = new CommExcelFileResponseDTO(); | |||
return responseDTO.setFilePath(filePath); | |||
return responseDTO.setFilePath(minioUtil.getOuterUrl(filePath)); | |||
} | |||
@Override |
@@ -217,7 +217,8 @@ public class InvwStocktakingInfoManagerImpl extends AbstractInvwManager implemen | |||
try { | |||
File tempFile = File.createTempFile("temp_error_设备移除错误反馈表", ".xlsx"); | |||
EasyExcel.write(tempFile, InvwStocktakingInfoRemoveModel.class).sheet("设备移除错误反馈表").doWrite(result); | |||
return minioUtil.fileUploadHttp(tempFile, BucketFileBus.INVW); | |||
String filePath = minioUtil.fileUploadHttp(tempFile, BucketFileBus.INVW); | |||
return minioUtil.getOuterUrl(filePath); | |||
} catch (Exception e) { | |||
throw e; | |||
} |
@@ -112,7 +112,7 @@ public class IssueOrderRefundManagerImpl extends AbstractManagewManager implemen | |||
List<IssueOrderRefundExcelModel> excelModelList = SourceTargetMapper.INSTANCE.orderRefundToModelList(list); | |||
File file = EasyExcelUtil.exportExcelFile(IssueOrderRefundExcelModel.class, excelModelList, "退费管理"); | |||
String filePath = minioUtil.fileUploadHttp(file, BucketFileBus.MANAGEW); | |||
return new IssueOrderRefundExportResponseDTO(filePath); | |||
return new IssueOrderRefundExportResponseDTO(minioUtil.getOuterUrl(filePath)); | |||
} | |||
@@ -124,7 +124,7 @@ public class IssueOrderRefundManagerImpl extends AbstractSettlewManager implemen | |||
List<IssueOrderRefundExcelModel> excelModelList = SourceTargetMapper.INSTANCE.orderRefundToModelList(list); | |||
File file = EasyExcelUtil.exportExcelFile(IssueOrderRefundExcelModel.class, excelModelList, "退费管理"); | |||
String filePath = minioUtil.fileUploadHttp(file, BucketFileBus.SETTLEW); | |||
return new IssueOrderRefundExportResponseDTO(filePath); | |||
return new IssueOrderRefundExportResponseDTO(minioUtil.getOuterUrl(filePath)); | |||
} | |||