From b48ed5159987e8cee81bc765010cfd9393ad7003 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 13 八月 2026 13:28:09 +0800
Subject: [PATCH] Merge branch 'dev_business' of http://114.132.189.42:9002/r/mom-pro2-after into dev_business

---
 yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/storage/StorageAttachmentApi.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/storage/StorageAttachmentApi.java b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/storage/StorageAttachmentApi.java
index 3d26f6e..fcd07e6 100644
--- a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/storage/StorageAttachmentApi.java
+++ b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/storage/StorageAttachmentApi.java
@@ -8,6 +8,18 @@
 
     void bindAttachments(String application, String recordType, Long recordId, List<Long> blobIds);
 
+    /**
+     * 澧為噺鏇存柊闄勪欢鍏宠仈锛�
+     * - 鏌ヨ鐜版湁闄勪欢锛屽姣旀柊鏃� blobId锛屽彧鍒犻櫎澶氫綑銆佸彧缁戝畾鏂板
+     * - 濡傛灉鏂版棫涓�鑷达紝涓嶅仛浠讳綍鎿嶄綔
+     *
+     * @param application 搴旂敤鐢ㄩ��
+     * @param recordType  涓氬姟璁板綍绫诲瀷
+     * @param recordId    涓氬姟璁板綍 ID
+     * @param newBlobIds  鏂扮殑 blobId 鍒楄〃锛堜负 null 鏃惰烦杩囷紝涓嶅仛浠讳綍鎿嶄綔锛�
+     */
+    void updateAttachments(String application, String recordType, Long recordId, List<Long> newBlobIds);
+
     List<StorageBlobRespDTO> listAttachments(String recordType, Long recordId);
 
     void deleteAttachments(List<Long> attachmentIds);

--
Gitblit v1.9.3