| | |
| | | * @since 2025-05-29 |
| | | */ |
| | | public interface StorageAttachmentService extends IService<StorageAttachment> { |
| | | /** |
| | | * 查询通用文件上传的附件信息 |
| | | * @param recordId 关联记录id |
| | | * @param recordType 关联记录类型 |
| | | * @param fileType 文件类型 |
| | | * @return 文件信息列表 |
| | | */ |
| | | List<StorageAttachment> selectStorageAttachments(Long recordId, StorageAttachmentRecordType recordType, StorageAttachmentConstants fileType); |
| | | |
| | | /** |
| | | * 保存通用文件上传的附件信息 |
| | |
| | | */ |
| | | public void saveStorageAttachment(List<StorageAttachment> attachments, Long recordId, StorageAttachmentRecordType recordType, StorageAttachmentConstants fileType); |
| | | |
| | | public void saveStorageAttachment(List<StorageAttachment> attachments, Long recordId, StorageAttachmentRecordType recordType, String fileType); |
| | | |
| | | |
| | | /** |
| | | * 删除通用文件上传的附件信息 |
| | | * @param storageAttachment 文件信息 |