fix:工位排序

This commit is contained in:
2026-03-18 16:28:50 +08:00
parent f479a02569
commit 1a0e9fd45c
2 changed files with 4 additions and 7 deletions

View File

@@ -175,7 +175,7 @@ public class DataAnalysisServiceImpl implements IDataAnalysisService {
wrapper.in(FileMetadataInfo::getParentId, taskLevelParentDirIds);
}
if (ObjectUtils.isEmpty(req.getOrderBy())) {
if (ObjectUtils.isEmpty(req.getFilterKey())) {
wrapper.orderByDesc(FileMetadataInfo::getCreateTime);
}
@@ -191,7 +191,7 @@ public class DataAnalysisServiceImpl implements IDataAnalysisService {
// 填充文件类型标签信息
fileDictTagQueryService.fillFileTagsForRespList(finalResultList, SimulationTaskResultCurveResp::getId);
sortByTagFieldInCurrentPage(finalResultList, req.getOrderBy(), req.getOrderType());
sortByTagFieldInCurrentPage(finalResultList, req.getFilterKey(), req.getFilterType());
PageInfo<SimulationTaskResultCurveResp> pageInfo = null;