Skip to content

OpenApi查询任务实例[queryInstanceInfo]方法中的排序没有效果 #1063

@yang1707

Description

@yang1707

Describe the bug
OpenApi查询任务实例[queryInstanceInfo]方法中的排序没有效果

To Reproduce
设置actualTriggerTime倒序,结果按照顺序排序
追踪代码发现是因为ascending() 或 descending()不会修改原来的Sort对象,需要重新赋值
sorter = sorter.descending();

Expected behavior
希望尽快解决

Environment
PowerJob Version: 5.1.1
Java Version: oracle jdk 8u431
OS: MacOS 15

Screenshots
QueryConvertUtils:
Image

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions