springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
@@ -176,7 +176,11 @@ IPage<ComMngPopulationVO> iPage = populationDAO.pagePopulation(page, comMngPopulationVO); iPage.getRecords().forEach(vo->{ //获取用户生日 String birthday = vo.getCardNo().substring(6, 14); String date = vo.getCardNo().substring(6, 14); String year = date.substring(0,4); String month = date.substring(4,6); String day = date.substring(6,8); String birthday = year + "-" + month + "-" + day; //设置用户年龄 vo.setBirthday(birthday); });