mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 21:37:56 +08:00
[fix] records
This commit is contained in:
parent
20bb29350c
commit
5a079fcba8
@ -256,7 +256,7 @@ public class LazyVisitorPortFlowApplicationImpl implements LazyVisitorPortFlowAp
|
||||
lazyVisitorPortFlow.setServerId(serverId);
|
||||
return lazyVisitorPortFlowRepository.findPageGroupByClientId(size, current, lazyVisitorPortFlow).convert(visitorPortFlowLazyPage -> {
|
||||
List<String> clientIdList = visitorPortFlowLazyPage
|
||||
.getRecord()
|
||||
.getRecords()
|
||||
.stream()
|
||||
.map(LazyVisitorPortFlow::getClientId)
|
||||
.toList();
|
||||
@ -268,7 +268,7 @@ public class LazyVisitorPortFlowApplicationImpl implements LazyVisitorPortFlowAp
|
||||
List<LazyVisitorPortFlowDTO> lazyVisitorPortFlowDTOList = lazyVisitorPortFlowList.stream().map(VisitorPortFlowDTOAssembler.INSTANCE::fromVisitorFlow).toList();
|
||||
|
||||
|
||||
Map<String/*客户端ID*/, List<LazyVisitorPortFlowDTO>> client_port_flow_map = lazyVisitorPortFlowDTOList.stream().collect(Collectors.groupingBy(visitorPortFlowDTO -> visitorPortFlowDTO.getClientId()));
|
||||
Map<String/*客户端ID*/, List<LazyVisitorPortFlowDTO>> client_port_flow_map = lazyVisitorPortFlowDTOList.stream().collect(Collectors.groupingBy(LazyVisitorPortFlowDTO::getClientId));
|
||||
|
||||
Map<String/*客户端ID*/, Integer/*客户端进口流量*/> client_in_flow = lazyVisitorPortFlowDTOList.stream()
|
||||
.collect(
|
||||
|
Loading…
x
Reference in New Issue
Block a user