|
|
@ -997,10 +997,6 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
|
String customerId = tokenDto.getCustomerId(); |
|
|
|
String userId = tokenDto.getUserId(); |
|
|
|
CheckMQMsg msg = new CheckMQMsg(); |
|
|
|
IcResiUserInfoCache icResiUserInfo = CustomerResiUserRedis.getIcResiUserInfo(formDTO.getId()); |
|
|
|
if (null == icResiUserInfo){ |
|
|
|
throw new EpmetException("查询icResiUser失败:"+formDTO.getId()); |
|
|
|
} |
|
|
|
if (formDTO.getType().equals(NeighborhoodConstant.HOUSE)){ |
|
|
|
HouseInfoCache houseInfo = CustomerIcHouseRedis.getHouseInfo(customerId, formDTO.getId()); |
|
|
|
if (null == houseInfo){ |
|
|
@ -1010,10 +1006,18 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
|
result.setIdCard(houseInfo.getOwnerIdCard()); |
|
|
|
msg.setContent("查看"+houseInfo.getAllName()+"房屋的敏感信息"); |
|
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.IC_RESI_USER)){ |
|
|
|
IcResiUserInfoCache icResiUserInfo = CustomerResiUserRedis.getIcResiUserInfo(formDTO.getId()); |
|
|
|
if (null == icResiUserInfo){ |
|
|
|
throw new EpmetException("查询icResiUser失败:"+formDTO.getId()); |
|
|
|
} |
|
|
|
result.setIdCard(icResiUserInfo.getIdCard()); |
|
|
|
result.setMobile(icResiUserInfo.getMobile()); |
|
|
|
msg.setContent("查看"+icResiUserInfo.getName()+"的敏感信息"); |
|
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.JMFYXX)){ |
|
|
|
IcResiUserInfoCache icResiUserInfo = CustomerResiUserRedis.getIcResiUserInfo(formDTO.getId()); |
|
|
|
if (null == icResiUserInfo){ |
|
|
|
throw new EpmetException("查询icResiUser失败:"+formDTO.getId()); |
|
|
|
} |
|
|
|
result.setIdCard(icResiUserInfo.getIdCard()); |
|
|
|
result.setMobile(icResiUserInfo.getMobile()); |
|
|
|
msg.setContent("查看"+icResiUserInfo.getName()+"的敏感信息(居民防疫信息)"); |
|
|
|