diff --git a/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java b/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java index d08c275..72ec20f 100644 --- a/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java +++ b/src/main/java/com/cm/population/service/population/impl/PopulationServiceImpl.java @@ -182,7 +182,16 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio @Override public List list(Map params) { - return populationDao.list(params); + List list = populationDao.list(params); + for (PopulationDTO populationDTO : list) { + PopulationInfoDTO populationInfoDTO = populationInfoService.get(populationDTO.getPopulationInfoId()); + populationInfoService.getTuoMin(populationInfoDTO); + + populationDTO.setCardNum(populationInfoDTO.getIdcard()); + populationDTO.setName(populationInfoDTO.getName()); + populationDTO.setPhone(populationInfoDTO.getPhone()); + } + return list; } @Override