From dca26f239eb286ff4333132f797d5cff39fb926e Mon Sep 17 00:00:00 2001 From: huangzhen <867217663@qq.com> Date: 星期三, 13 九月 2023 16:07:25 +0800 Subject: [PATCH] 文件增加批量保存功能 --- ruoyi-file/src/main/java/com/ruoyi/file/service/AttachmentService.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ruoyi-file/src/main/java/com/ruoyi/file/service/AttachmentService.java b/ruoyi-file/src/main/java/com/ruoyi/file/service/AttachmentService.java index 239cc7e..555fa15 100644 --- a/ruoyi-file/src/main/java/com/ruoyi/file/service/AttachmentService.java +++ b/ruoyi-file/src/main/java/com/ruoyi/file/service/AttachmentService.java @@ -26,7 +26,11 @@ Object saveBatchFileToPath(MultipartFile[] file, String module); + Object saveBatchFileToPath(MultipartFile[] file, String module,Long businessId); + void downloadForStream(HttpServletResponse response, String key); void downloadById(HttpServletResponse response, HttpServletRequest request, Long id); + + void saveBatch(List<AttachmentInfo> attachmentInfo); } -- Gitblit v1.9.2