From 0891c8cfbe780fdc56379cb6f5c5365d5e9042ec Mon Sep 17 00:00:00 2001
From: zf <1603559716@qq.com>
Date: Thu, 12 Oct 2023 10:03:48 +0800
Subject: [PATCH] Merge branch 'zf1' of https://sinanoaq.cn:8888/r/swspkmas
---
ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentServiceImpl.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentServiceImpl.java b/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentServiceImpl.java
index 91ce116..7db9141 100644
--- a/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentServiceImpl.java
+++ b/ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentServiceImpl.java
@@ -401,4 +401,11 @@
throw new ServiceException("文件不存在");
}
}
+
+ @Override
+ public void updateBatchById(List<AttachmentInfo> attachmentInfo) {
+ boolean saveBatch = attachmentInfoService.updateBatchById(attachmentInfo);
+ if (!saveBatch)
+ throw new ServiceException("文件批量保存失败");
+ }
}
--
Gitblit v1.9.2