From 5274a6af1e57e9ab9a9914bc5542be750154afb7 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Fri, 17 Nov 2023 15:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A5=E4=BA=BA=E6=89=BE=E6=88=BF=E3=80=81?= =?UTF-8?q?=E4=BB=A5=E6=88=BF=E6=89=BE=E4=BA=BA=E4=BF=A1=E6=81=AF=E8=84=B1?= =?UTF-8?q?=E6=95=8F=20=20--renpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../population/impl/PopulationServiceImpl.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 b5edd05..d08c275 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 @@ -81,6 +81,13 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio } params.put("bindTime", params.get("gmtCreate")); 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); return populationId; } @@ -128,6 +135,12 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio } else { 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); }