feat: 在线编辑根据id获取最新版本的文件信息
This commit is contained in:
-1
@@ -227,7 +227,6 @@ public class OnlyOfficeController {
|
|||||||
if (StringUtils.isBlank(id)) {
|
if (StringUtils.isBlank(id)) {
|
||||||
return Result.error("id不能为空!");
|
return Result.error("id不能为空!");
|
||||||
}
|
}
|
||||||
HashMap<String, String> map = new HashMap<>();
|
|
||||||
OSSFile firstVersion = ossFileService.getById(id);
|
OSSFile firstVersion = ossFileService.getById(id);
|
||||||
LambdaQueryWrapper<OSSFile> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<OSSFile> wrapper = new LambdaQueryWrapper<>();
|
||||||
wrapper.eq(OSSFile::getOnlId, firstVersion.getOnlId());
|
wrapper.eq(OSSFile::getOnlId, firstVersion.getOnlId());
|
||||||
|
|||||||
Reference in New Issue
Block a user