1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cn.iocoder.yudao.module.system.api.storage;
 
import cn.iocoder.yudao.module.system.api.storage.dto.StorageBlobRespDTO;
 
import java.util.List;
 
public interface StorageAttachmentApi {
 
    void bindAttachments(String application, String recordType, Long recordId, List<Long> blobIds);
 
    List<StorageBlobRespDTO> listAttachments(String recordType, Long recordId);
 
    void deleteAttachments(List<Long> attachmentIds);
 
    void deleteAttachmentsByRecord(String recordType, Long recordId);
 
}