heheng
2025-01-16 92ac1754c713d206ebdafa3da8ec817c1d1e120d
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("文件批量保存失败");
    }