排序优化
This commit is contained in:
parent
db8319022e
commit
2a6e4959b3
|
@ -219,8 +219,7 @@ public class CensusController {
|
|||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
).reversed()
|
||||
);
|
||||
).reversed().thenComparing(i -> i.toString()));
|
||||
return new Result<List<Map<String, Object>>>().ok(result);
|
||||
}
|
||||
|
||||
|
@ -288,7 +287,7 @@ public class CensusController {
|
|||
} catch (JsonProcessingException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}).reversed()
|
||||
}).reversed().thenComparing(i -> i.toString())
|
||||
);
|
||||
return new Result<List<Map<String, Object>>>().ok(result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue