refactor(web): 优化服务列表展示
This commit is contained in:
@@ -64,7 +64,7 @@ public class CloudController extends BaseController {
|
|||||||
})
|
})
|
||||||
.groupBy(groupByField)
|
.groupBy(groupByField)
|
||||||
.toMap()
|
.toMap()
|
||||||
.collectValues((serviceId, services) -> new CloudServiceVO(serviceId, services.toList().toImmutable()))
|
.collectValues((serviceId, services) -> new CloudServiceVO(serviceId, services.toSortedListBy(CloudServiceVO.Service::getServiceUpTime).toImmutable()))
|
||||||
.valuesView()
|
.valuesView()
|
||||||
.toSortedListBy(CloudServiceVO::getName)
|
.toSortedListBy(CloudServiceVO::getName)
|
||||||
.toImmutable();
|
.toImmutable();
|
||||||
|
|||||||
Reference in New Issue
Block a user