| 
						
						
							
								
							
						
						
					 | 
					@ -121,7 +121,6 @@ public class ResiEventReplyServiceImpl extends BaseServiceImpl<ResiEventReplyDao | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        resiEventReplyEntity.setCreatedTime(new Date()); | 
					 | 
					 | 
					        resiEventReplyEntity.setCreatedTime(new Date()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        baseDao.insert(resiEventReplyEntity); | 
					 | 
					 | 
					        baseDao.insert(resiEventReplyEntity); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        // 记录操作日志
 | 
					 | 
					 | 
					        // 记录操作日志
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //2、插入log日志
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        ResiEventOperationLogEntity reCallLog=new ResiEventOperationLogEntity(); | 
					 | 
					 | 
					        ResiEventOperationLogEntity reCallLog=new ResiEventOperationLogEntity(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setCustomerId(eventEntity.getCustomerId()); | 
					 | 
					 | 
					        reCallLog.setCustomerId(eventEntity.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setResiEventId(eventEntity.getId()); | 
					 | 
					 | 
					        reCallLog.setResiEventId(eventEntity.getId()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -178,11 +177,51 @@ public class ResiEventReplyServiceImpl extends BaseServiceImpl<ResiEventReplyDao | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        resiEventReplyEntity.setCreatedTime(new Date()); | 
					 | 
					 | 
					        resiEventReplyEntity.setCreatedTime(new Date()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        baseDao.insert(resiEventReplyEntity); | 
					 | 
					 | 
					        baseDao.insert(resiEventReplyEntity); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        // 记录操作日志
 | 
					 | 
					 | 
					        // 记录操作日志
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //2、插入log日志
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        ResiEventOperationLogEntity reCallLog=new ResiEventOperationLogEntity(); | 
					 | 
					 | 
					        ResiEventOperationLogEntity reCallLog=new ResiEventOperationLogEntity(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setCustomerId(eventEntity.getCustomerId()); | 
					 | 
					 | 
					        reCallLog.setCustomerId(eventEntity.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setResiEventId(eventEntity.getId()); | 
					 | 
					 | 
					        reCallLog.setResiEventId(eventEntity.getId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setUserId(formDTO.getUserId()); | 
					 | 
					 | 
					        reCallLog.setUserId(formDTO.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        reCallLog.setUserIdentity(EventConstant.REPORT_USER); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        reCallLog.setActionCode(ResiEventAction.REPLY.getCode()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        reCallLog.setActionDesc(ResiEventAction.REPLY.getDesc()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        reCallLog.setOperateTime(resiEventReplyEntity.getCreatedTime()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        resiEventOperationLogDao.insert(reCallLog); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * 艾特的人回复 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @param replyFormDTO | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @return void | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @author yinzuomei | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @date 2021/8/4 15:06 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @Override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    public void atReply(ReplyFormDTO replyFormDTO) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        ResiEventEntity eventEntity=queryResiEntity(replyFormDTO.getResiEventId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        // 回复内容走审核
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        scanReplyContent(replyFormDTO.getContent()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        // 查询当前用户的显示昵称
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        List<String> userIdList =new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        userIdList.add(replyFormDTO.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        Result<List<UserBaseInfoResultDTO>> userResult=epmetUserOpenFeignClient.queryUserBaseInfo(userIdList); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if(!userResult.success()|| CollectionUtils.isEmpty(userResult.getData())){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            throw new RenException("查询当前用户信息异常"); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        // 插入回复表
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        ResiEventReplyEntity resiEventReplyEntity=new ResiEventReplyEntity(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        resiEventReplyEntity.setCustomerId(eventEntity.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        resiEventReplyEntity.setResiEventId(replyFormDTO.getResiEventId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        resiEventReplyEntity.setFromUserId(replyFormDTO.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        resiEventReplyEntity.setContent(replyFormDTO.getContent()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        resiEventReplyEntity.setUserShowName("人大代表-".concat(userResult.getData().get(0).getRealName())); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        resiEventReplyEntity.setCreatedTime(new Date()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        baseDao.insert(resiEventReplyEntity); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        // 记录操作日志
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        ResiEventOperationLogEntity reCallLog=new ResiEventOperationLogEntity(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        reCallLog.setCustomerId(eventEntity.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        reCallLog.setResiEventId(eventEntity.getId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        reCallLog.setUserId(replyFormDTO.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setUserIdentity(EventConstant.RESI_USER); | 
					 | 
					 | 
					        reCallLog.setUserIdentity(EventConstant.RESI_USER); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setActionCode(ResiEventAction.REPLY.getCode()); | 
					 | 
					 | 
					        reCallLog.setActionCode(ResiEventAction.REPLY.getCode()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        reCallLog.setActionDesc(ResiEventAction.REPLY.getDesc()); | 
					 | 
					 | 
					        reCallLog.setActionDesc(ResiEventAction.REPLY.getDesc()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |