zf
2023-09-25 c858ae26143fde37b8c77d403baeb7a050bc2ab6
ruoyi-file/src/main/java/com/ruoyi/file/service/impl/AttachmentServiceImpl.java
@@ -401,4 +401,11 @@
            throw new ServiceException("文件不存在");
        }
    }
    @Override
    public void updateBatchById(List<AttachmentInfo> attachmentInfo) {
        boolean saveBatch = attachmentInfoService.updateBatchById(attachmentInfo);
        if (!saveBatch)
            throw new ServiceException("文件批量保存失败");
    }
}