From f5a4ca9f0a937f9cc3393dfed8b4bf989615f103 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期三, 05 二月 2025 17:14:19 +0800
Subject: [PATCH] 更改校验 去除非必填

---
 ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 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 b0074bb..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
@@ -403,8 +403,8 @@
     }
 
     @Override
-    public void saveBatch(List<AttachmentInfo> attachmentInfo) {
-        boolean saveBatch = attachmentInfoService.saveBatch(attachmentInfo);
+    public void updateBatchById(List<AttachmentInfo> attachmentInfo) {
+        boolean saveBatch = attachmentInfoService.updateBatchById(attachmentInfo);
         if (!saveBatch)
             throw new ServiceException("文件批量保存失败");
     }

--
Gitblit v1.9.2