|
楼主 |
发表于 2023-8-25 11:23:37
|
显示全部楼层
本帖最后由 zhou66 于 2023-8-25 11:26 编辑
(9) MapToDouble 进行汇总
- private Double getDenominator(String cbdy, List<PcrclHVO> rclListFilter, Map<String, JcsjswbomHVO> swbom,
- Map<String, UFDouble> swbomMaxDays, List<String> rclsxzList, Map<String, YwdjcbhsfpxsBVO> fpxs,
- Map<String, UFDouble> numeratorMap) {
-
- return rclListFilter.stream().mapToDouble(
- e -> getNumerator(cbdy, e, getSwbom(e, swbom, swbomMaxDays, rclsxzList), getFpxs(e, fpxs), numeratorMap)
- .doubleValue())
- .sum();
- }
复制代码 |
|