以人找房、以房找人信息脱敏 --renpc
This commit is contained in:
parent
5274a6af1e
commit
15655987bc
@ -182,7 +182,16 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio
|
||||
|
||||
@Override
|
||||
public List<PopulationDTO> list(Map<String, Object> params) {
|
||||
return populationDao.list(params);
|
||||
List<PopulationDTO> 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
|
||||
|
Loading…
Reference in New Issue
Block a user