参考如下假例代码,请修改再实现:

        List<UserDTO> users = userMapper.getUserAllListFromDb();
        Map<Integer, List<UserDTO>> mapList = users.stream().collect(Collectors.groupingBy(UserDTO::getGender));
        List<UserDTO> manUserList = mapList.get("1"); //假设代表男
        BigDecimal ageTotal = manUserList.stream().map(UserDTO::getAge).reduce(BigDecimal::add).orElse(BigDecimal.ZERO);
        BigDecimal lengthTotal = manUserList.stream().map(UserDTO::getLength).reduce(BigDecimal::add).orElse(BigDecimal.ZERO);
        System.out.println("总年龄:" + ageTotal);
        System.out.println("总身高:" + lengthTotal);
                                      2019-09-04 16:54:20
                            企业邮箱发送邮件时,若出现投递失败产生退信,内容提示包含如下: the mta server of * reply:550 failed to meet SPF requirements 或者 the mta server of 163.com — 163mx01.mxmail.netease.com(220.181.14.141) reply:550 MI:SPF mx14,QMCowECpA0qTiftVaeB3Cg—.872S2 1442548128 http://mail.163.com/help
                            302303
        SpringCloud Alibaba微服务实战二十 - 集成Feign的降级熔断
        mybatis xml文件热加载实现
        分享一个修改了xml文件再也不用重启的项目mybatis-xmlreload
        项目讲解之火爆全网的开源后台管理系统RuoYi