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