|  |  | @ -416,51 +416,4 @@ public class IcHouseServiceImpl extends BaseServiceImpl<IcHouseDao, IcHouseEntit | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         return new Result<CheckHomeInfoResultInfo>().ok(checkHomeInfoResultInfo); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     /** | 
			
		
	
		
			
				
					|  |  |  |      * Desc: 数据明文查询 | 
			
		
	
		
			
				
					|  |  |  |      * @param formDTO | 
			
		
	
		
			
				
					|  |  |  |      * @author zxc | 
			
		
	
		
			
				
					|  |  |  |      * @date 2022/10/17 13:45 | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public DetailByTypeResultDTO detailByType(DetailByTypeFormDTO formDTO, TokenDto tokenDto) { | 
			
		
	
		
			
				
					|  |  |  |         DetailByTypeResultDTO result = new DetailByTypeResultDTO(); | 
			
		
	
		
			
				
					|  |  |  |         String customerId = tokenDto.getCustomerId(); | 
			
		
	
		
			
				
					|  |  |  |         String userId = tokenDto.getUserId(); | 
			
		
	
		
			
				
					|  |  |  |         CheckMQMsg msg = new CheckMQMsg(); | 
			
		
	
		
			
				
					|  |  |  |         if (formDTO.getType().equals(NeighborhoodConstant.HOUSE)){ | 
			
		
	
		
			
				
					|  |  |  |             HouseInfoCache houseInfo = CustomerIcHouseRedis.getHouseInfo(customerId, formDTO.getId()); | 
			
		
	
		
			
				
					|  |  |  |             if (null == houseInfo){ | 
			
		
	
		
			
				
					|  |  |  |                 throw new EpmetException("查询房屋信息失败:"+formDTO.getId()); | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |             result.setMobile(houseInfo.getOwnerPhone()); | 
			
		
	
		
			
				
					|  |  |  |             result.setIdCard(houseInfo.getOwnerIdCard()); | 
			
		
	
		
			
				
					|  |  |  |             msg.setContent("查看"+houseInfo.getAllName()+"房屋的敏感信息"); | 
			
		
	
		
			
				
					|  |  |  |             msg.setType("checkHouse"); | 
			
		
	
		
			
				
					|  |  |  |             msg.setTypeDisplay("查看"+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()+"的敏感信息"); | 
			
		
	
		
			
				
					|  |  |  |             msg.setType("checkIcResiUser"); | 
			
		
	
		
			
				
					|  |  |  |             msg.setTypeDisplay("查看"+icResiUserInfo.getName()+"的敏感信息"); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         // 发送mq消息
 | 
			
		
	
		
			
				
					|  |  |  |         HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); | 
			
		
	
		
			
				
					|  |  |  |         msg.setOperateTime(new Date()); | 
			
		
	
		
			
				
					|  |  |  |         msg.setUserId(userId); | 
			
		
	
		
			
				
					|  |  |  |         msg.setFromApp(tokenDto.getApp()); | 
			
		
	
		
			
				
					|  |  |  |         msg.setIp(IpUtils.getIpAddr(request)); | 
			
		
	
		
			
				
					|  |  |  |         msg.setFromClient(tokenDto.getClient()); | 
			
		
	
		
			
				
					|  |  |  |         SystemMsgFormDTO form = new SystemMsgFormDTO(); | 
			
		
	
		
			
				
					|  |  |  |         form.setMessageType(TopicConstants.CHECK_OR_EXPORT); | 
			
		
	
		
			
				
					|  |  |  |         form.setContent(msg); | 
			
		
	
		
			
				
					|  |  |  |         epmetMessageOpenFeignClient.sendSystemMsgByMQ(form); | 
			
		
	
		
			
				
					|  |  |  |         return result; | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
	
		
			
				
					|  |  | 
 |