mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: FrequentJob sort by subInstanceId #63
This commit is contained in:
parent
11c24f4fd6
commit
d5c26e70d8
@ -123,6 +123,9 @@ public class FrequentTaskTracker extends TaskTracker {
|
||||
history.add(subDetail);
|
||||
});
|
||||
|
||||
// 按 subInstanceId 排序 issue#63
|
||||
history.sort((o1, o2) -> (int) (o2.getSubInstanceId() - o1.getSubInstanceId()));
|
||||
|
||||
detail.setSubInstanceDetails(history);
|
||||
return detail;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user