|
@ -1023,6 +1023,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
result.setMobile(houseInfo.getOwnerPhone()); |
|
|
result.setMobile(houseInfo.getOwnerPhone()); |
|
|
result.setIdCard(houseInfo.getOwnerIdCard()); |
|
|
result.setIdCard(houseInfo.getOwnerIdCard()); |
|
|
msg.setContent("查看"+houseInfo.getAllName()+"房屋的敏感信息"); |
|
|
msg.setContent("查看"+houseInfo.getAllName()+"房屋的敏感信息"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.CHECK_IC_RESI_USER)){ |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.CHECK_IC_RESI_USER)){ |
|
|
IcResiUserInfoCache icResiUserInfo = CustomerResiUserRedis.getIcResiUserInfo(formDTO.getId()); |
|
|
IcResiUserInfoCache icResiUserInfo = CustomerResiUserRedis.getIcResiUserInfo(formDTO.getId()); |
|
|
if (null == icResiUserInfo){ |
|
|
if (null == icResiUserInfo){ |
|
@ -1031,14 +1032,16 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
result.setIdCard(icResiUserInfo.getIdCard()); |
|
|
result.setIdCard(icResiUserInfo.getIdCard()); |
|
|
result.setMobile(icResiUserInfo.getMobile()); |
|
|
result.setMobile(icResiUserInfo.getMobile()); |
|
|
msg.setContent("查看"+icResiUserInfo.getName()+"的敏感信息"); |
|
|
msg.setContent("查看"+icResiUserInfo.getName()+"的敏感信息"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.JMFYXX)){ |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.JMFYXX)){ |
|
|
IcResiUserInfoCache icResiUserInfo = CustomerResiUserRedis.getIcResiUserInfo(formDTO.getId()); |
|
|
IcResiUserInfoCache icResiUserInfo = CustomerResiUserRedis.getIcResiUserInfo(formDTO.getId()); |
|
|
if (null == icResiUserInfo){ |
|
|
if (null == icResiUserInfo){ |
|
|
throw new EpmetException("查询icResiUser失败:"+formDTO.getId()); |
|
|
throw new EpmetException("居民防疫信息查询icResiUser失败:"+formDTO.getId()); |
|
|
} |
|
|
} |
|
|
result.setIdCard(icResiUserInfo.getIdCard()); |
|
|
result.setIdCard(icResiUserInfo.getIdCard()); |
|
|
result.setMobile(icResiUserInfo.getMobile()); |
|
|
result.setMobile(icResiUserInfo.getMobile()); |
|
|
msg.setContent("查看"+icResiUserInfo.getName()+"的敏感信息(居民防疫信息)"); |
|
|
msg.setContent("查看"+icResiUserInfo.getName()+"的敏感信息(居民防疫信息)"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.ROUTE_FOLLOW)){ |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.ROUTE_FOLLOW)){ |
|
|
Map<String, String> info = icResiUserDao.getTripReportRecordInfo(formDTO.getId()); |
|
|
Map<String, String> info = icResiUserDao.getTripReportRecordInfo(formDTO.getId()); |
|
|
if (null == info){ |
|
|
if (null == info){ |
|
@ -1047,6 +1050,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(行程随访)"); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(行程随访)"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.VACCINATION_RECORD)){ |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.VACCINATION_RECORD)){ |
|
|
Map<String, String> info = icResiUserDao.getVaccineRecordInfo(formDTO.getId()); |
|
|
Map<String, String> info = icResiUserDao.getVaccineRecordInfo(formDTO.getId()); |
|
|
if (null == info){ |
|
|
if (null == info){ |
|
@ -1055,6 +1059,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(疫苗接种记录)"); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(疫苗接种记录)"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.VACCINE_SPECIAL_ATTENTION) |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.VACCINE_SPECIAL_ATTENTION) |
|
|
|| formDTO.getType().equals(NeighborhoodConstant.FOCUS_GROUP_SPECIAL_ATTENTION_QUARANTINE) |
|
|
|| formDTO.getType().equals(NeighborhoodConstant.FOCUS_GROUP_SPECIAL_ATTENTION_QUARANTINE) |
|
|
|| formDTO.getType().equals(NeighborhoodConstant.FOCUS_GROUP_SPECIAL_ATTENTION_HISTORY)){ |
|
|
|| formDTO.getType().equals(NeighborhoodConstant.FOCUS_GROUP_SPECIAL_ATTENTION_HISTORY)){ |
|
@ -1078,7 +1083,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
default: |
|
|
default: |
|
|
} |
|
|
} |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息("+cMsg+")"); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息("+cMsg+")"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.NO_NAT_COMPARE)){ |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.NO_NAT_COMPARE)){ |
|
|
Map<String, String> info = icResiUserDao.getNoNatCompareInfo(formDTO.getId()); |
|
|
Map<String, String> info = icResiUserDao.getNoNatCompareInfo(formDTO.getId()); |
|
|
if (null == info){ |
|
|
if (null == info){ |
|
@ -1087,6 +1092,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(未做核酸比对)"); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(未做核酸比对)"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.NAT_RECORD)){ |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.NAT_RECORD)){ |
|
|
Map<String, String> info = icResiUserDao.getNatInfo(formDTO.getId()); |
|
|
Map<String, String> info = icResiUserDao.getNatInfo(formDTO.getId()); |
|
|
if (null == info){ |
|
|
if (null == info){ |
|
@ -1095,6 +1101,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(核酸检测信息)"); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(核酸检测信息)"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.EMPLOYEE_EPIDEMIC_MANAGE_DETAIL)){ |
|
|
}else if (formDTO.getType().equals(NeighborhoodConstant.EMPLOYEE_EPIDEMIC_MANAGE_DETAIL)){ |
|
|
Map<String, String> info = govOrgService.getEmployeeRegisterMobileAndIdCard(formDTO.getId()); |
|
|
Map<String, String> info = govOrgService.getEmployeeRegisterMobileAndIdCard(formDTO.getId()); |
|
|
if (null == info){ |
|
|
if (null == info){ |
|
@ -1103,6 +1110,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setIdCard(info.get(NeighborhoodConstant.ID_CARD)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
result.setMobile(info.get(NeighborhoodConstant.MOBILE)); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(员工登记信息)"); |
|
|
msg.setContent("查看"+info.get(NeighborhoodConstant.NAME)+"的敏感信息(员工登记信息)"); |
|
|
|
|
|
msg.setTargetId(formDTO.getId()); |
|
|
} |
|
|
} |
|
|
// 发送mq消息
|
|
|
// 发送mq消息
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); |
|
|
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); |
|
|