Java Stream 实现根据多字段分组求和
代码块如下: List<AgentCheckoutStockDetail> agentCheckoutStockDetails = agentCheckoutStockDetailRepository.selectByExample(ws); Map<String, Long> countMap = agentCheckoutStockDetails.stream() .collect(Collectors.groupingB