以人找房、以房找人信息脱敏 --renpc
This commit is contained in:
parent
1d443879e6
commit
5274a6af1e
@ -81,6 +81,13 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio
|
|||||||
}
|
}
|
||||||
params.put("bindTime", params.get("gmtCreate"));
|
params.put("bindTime", params.get("gmtCreate"));
|
||||||
params.put("outHouse", 0);
|
params.put("outHouse", 0);
|
||||||
|
|
||||||
|
// 解除脱敏
|
||||||
|
PopulationInfoDTO populationInfoDTO = populationInfoService.get(populationVO.getPopulationInfoId());
|
||||||
|
params.put("name", populationInfoDTO.getName());
|
||||||
|
params.put("cardNum", populationInfoDTO.getIdcard());
|
||||||
|
params.put("phone", populationInfoDTO.getPhone());
|
||||||
|
|
||||||
populationDao.save(params);
|
populationDao.save(params);
|
||||||
return populationId;
|
return populationId;
|
||||||
}
|
}
|
||||||
@ -128,6 +135,12 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio
|
|||||||
} else {
|
} else {
|
||||||
setUpdateInfo(token, params);
|
setUpdateInfo(token, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 解除脱敏
|
||||||
|
PopulationInfoDTO populationInfoDTO = populationInfoService.get(populationVO.getPopulationInfoId());
|
||||||
|
params.put("name", populationInfoDTO.getName());
|
||||||
|
params.put("cardNum", populationInfoDTO.getIdcard());
|
||||||
|
params.put("phone", populationInfoDTO.getPhone());
|
||||||
populationDao.update(params);
|
populationDao.update(params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user