|
|
@ -206,11 +206,9 @@ public class MyHomeServiceImpl implements MyHomeService { |
|
|
|
LambdaQueryWrapper<IcResiUserEntity> wrapper = new LambdaQueryWrapper<>(); |
|
|
|
wrapper.eq(IcResiUserEntity::getCustomerId, tokenDto.getCustomerId()); |
|
|
|
wrapper.eq(IcResiUserEntity::getIdCard, baseInfo.getIdNum()); |
|
|
|
wrapper.select(IcResiUserEntity::getId) |
|
|
|
.select(IcResiUserEntity::getHomeId) |
|
|
|
.select(IcResiUserEntity::getIdCard); |
|
|
|
wrapper.select(IcResiUserEntity::getId,IcResiUserEntity::getHomeId,IcResiUserEntity::getIdCard); |
|
|
|
IcResiUserEntity icUser = icResiUserDao.selectOne(wrapper); |
|
|
|
if (null == icUser) { |
|
|
|
if (null == icUser||StringUtils.isBlank(icUser.getHomeId())) { |
|
|
|
log.warn(String.format("ic_resi_user is null id_card:%s",baseInfo.getIdNum())); |
|
|
|
return null; |
|
|
|
} |
|
|
|