fixbug:修改更新文件,审批流审批状态错误

This commit is contained in:
2026-01-13 20:10:26 +08:00
parent 80e41d3e48
commit 3a0c7f2d5d
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 数据分析
* 数据查询
*/
@RestController
@RequestMapping("/dataAnalysis")

View File

@@ -120,6 +120,7 @@ public class FileMetadataHierarchyHelper {
return fileMetadataInfoService.lambdaQuery()
.eq(FileMetadataInfo::getTenantId, ThreadLocalContext.getTenantId())
.in(FileMetadataInfo::getId, fileIdList)
.orderByDesc(FileMetadataInfo::getCreateTime)
.list();
}