以人找房、以房找人信息脱敏 --renpc

This commit is contained in:
Renpc-kilig 2023-11-17 15:30:53 +08:00
parent ca9993fef5
commit 1d443879e6

View File

@ -19,6 +19,7 @@ import com.cm.population.pojo.vos.population.PopulationVO;
import com.cm.population.service.house.IHouseService; import com.cm.population.service.house.IHouseService;
import com.cm.population.service.population.IPopulationService; import com.cm.population.service.population.IPopulationService;
import com.cm.population.service.populationinfo.IPopulationInfoService; import com.cm.population.service.populationinfo.IPopulationInfoService;
import com.cm.population.service.populationinfo.impl.PopulationInfoServiceImpl;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo; import com.github.pagehelper.PageInfo;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
@ -244,6 +245,7 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio
if(StringUtils.isNotEmpty(populationDTO.getPopulationInfoId())) { if(StringUtils.isNotEmpty(populationDTO.getPopulationInfoId())) {
PopulationInfoDTO populationInfoDTO = populationInfoService.get(populationDTO.getPopulationInfoId()); PopulationInfoDTO populationInfoDTO = populationInfoService.get(populationDTO.getPopulationInfoId());
if (null != populationInfoDTO) { if (null != populationInfoDTO) {
populationInfoService.getTuoMin(populationInfoDTO);
populationDTO.setPopulationInfoDTO(populationInfoDTO); populationDTO.setPopulationInfoDTO(populationInfoDTO);
} }
} }
@ -267,6 +269,7 @@ public class PopulationServiceImpl extends AbstractService implements IPopulatio
// 获取人员 // 获取人员
PopulationInfoBaseDTO base = populationInfoService.getBase(populationDTO.getPopulationInfoId()); PopulationInfoBaseDTO base = populationInfoService.getBase(populationDTO.getPopulationInfoId());
populationInfoService.getTuoMin(base);
populationInfoHouseDTO.setPopulationInfoBaseDTO(base); populationInfoHouseDTO.setPopulationInfoBaseDTO(base);
populationDTO.setPopulationInfoHouseDTO(populationInfoHouseDTO); populationDTO.setPopulationInfoHouseDTO(populationInfoHouseDTO);