소스 검색

minIO返回url调整

master
huminghao 1 개월 전
부모
커밋
1a85f50f1e

+ 1
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/card/InvwCardDetailsManagerImpl.java 파일 보기

@@ -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

+ 1
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/obu/InvwObuDetailsManagerImpl.java 파일 보기

@@ -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

+ 2
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/stocktaking/InvwStocktakingInfoManagerImpl.java 파일 보기

@@ -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;
}

+ 1
- 1
zhywpt-app-managew/src/main/java/cn/com/taiji/managew/manager/issueOrder/IssueOrderRefundManagerImpl.java 파일 보기

@@ -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));
}



+ 1
- 1
zhywpt-app-settlew/src/main/java/cn/com/taiji/settlew/manager/issueOrder/IssueOrderRefundManagerImpl.java 파일 보기

@@ -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));
}



Loading…
취소
저장