huangzhen
2023-09-26 7a393cea127859281a4edd08d6f75630a8d429a5
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("文件批量保存失败");
    }
}