| | |
| | | import com.ruoyi.basic.dto.StorageAttachmentDTO; |
| | | import com.ruoyi.basic.dto.StorageAttachmentVO; |
| | | import com.ruoyi.basic.dto.StorageBlobDTO; |
| | | import com.ruoyi.basic.dto.StorageBlobVO; |
| | | import com.ruoyi.basic.enums.ApplicationTypeEnum; |
| | | import com.ruoyi.basic.enums.RecordTypeEnum; |
| | | import com.ruoyi.basic.pojo.StorageAttachment; |
| | |
| | | |
| | | /** |
| | | * 保存通用文件上传的附件信息 |
| | | * @param storageBlobDTOS 文件信息列表 |
| | | * @param recordId 管理记录id |
| | | * @param recordType 关联记录类型 |
| | | * @param fileType 文件类型 |
| | | */ |
| | | public void saveStorageAttachment(List<StorageBlobDTO> storageBlobDTOS, Long recordId, String recordType, String fileType); |
| | | public void saveStorageAttachment(StorageAttachmentDTO storageAttachmentDTO); |
| | | |
| | | /** |
| | | * 分页查询通用文件上传的附件信息 |
| | | * @param page 分页参数 |
| | | * @param storageAttachmentDTO 关联记录信息 |
| | | * @return 分页结果 |
| | | */ |
| | | public IPage<StorageAttachmentVO> listPage(Page page, StorageAttachmentDTO storageAttachmentDTO); |
| | | public List<StorageBlobVO> list(StorageAttachmentDTO storageAttachmentDTO); |
| | | |
| | | /** |
| | | * 删除通用文件上传的附件信息 |