feat: 在线编辑根据id获取最新版本的文件信息

This commit is contained in:
2024-10-12 14:15:41 +08:00
parent 1ba4b22318
commit 9207930efd
@@ -227,7 +227,6 @@ public class OnlyOfficeController {
if (StringUtils.isBlank(id)) {
return Result.error("id不能为空!");
}
HashMap<String, String> map = new HashMap<>();
OSSFile firstVersion = ossFileService.getById(id);
LambdaQueryWrapper<OSSFile> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(OSSFile::getOnlId, firstVersion.getOnlId());