|  | @ -102,7 +102,6 @@ import lombok.extern.slf4j.Slf4j; | 
			
		
	
		
		
			
				
					|  |  | import org.apache.commons.lang3.StringUtils; |  |  | import org.apache.commons.lang3.StringUtils; | 
			
		
	
		
		
			
				
					|  |  | import org.apache.commons.logging.Log; |  |  | import org.apache.commons.logging.Log; | 
			
		
	
		
		
			
				
					|  |  | import org.apache.commons.logging.LogFactory; |  |  | import org.apache.commons.logging.LogFactory; | 
			
		
	
		
		
			
				
					|  |  | import org.jsoup.helper.StringUtil; |  |  |  | 
			
		
	
		
		
			
				
					|  |  | import org.springframework.beans.factory.annotation.Autowired; |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
			
		
	
		
		
			
				
					|  |  | import org.springframework.beans.factory.annotation.Value; |  |  | import org.springframework.beans.factory.annotation.Value; | 
			
		
	
		
		
			
				
					|  |  | import org.springframework.stereotype.Service; |  |  | import org.springframework.stereotype.Service; | 
			
		
	
	
		
		
			
				
					|  | @ -907,20 +906,17 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi | 
			
		
	
		
		
			
				
					|  |  |     private Result verifyLeader(ResiTopicEntity topic,String userId){ |  |  |     private Result verifyLeader(ResiTopicEntity topic,String userId){ | 
			
		
	
		
		
			
				
					|  |  |         if(null != topic){ |  |  |         if(null != topic){ | 
			
		
	
		
		
			
				
					|  |  |             ResiGroupMemberDTO leaderVerify = resiGroupMemberDao.selectLeaderMember(topic.getGroupId()); |  |  |             ResiGroupMemberDTO leaderVerify = resiGroupMemberDao.selectLeaderMember(topic.getGroupId()); | 
			
		
	
		
		
			
				
					
					|  |  |             if(null != leaderVerify){ |  |  |             if (null == leaderVerify) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 //1.2判断是否是组长
 |  |  |                 throw new RenException(String.format("没有找到该组组长,groupId=%s", topic.getGroupId())); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 if(!StringUtils.equals(leaderVerify.getCustomerUserId(),userId)){ |  |  |             } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                     //非组长,无权限进行操作
 |  |  |             //1.2判断是否是组长
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                     logger.error(ModuleConstant.NO_TEAMLEADER_AUTH); |  |  |             if (!StringUtils.equals(leaderVerify.getCustomerUserId(), userId)) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                     throw new RenException(ModuleConstant.NO_TEAMLEADER_AUTH); |  |  |                 //非组长,无权限进行操作
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 }else{ |  |  |                 logger.error(ModuleConstant.NO_TEAMLEADER_AUTH); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                     //是组长
 |  |  |                 throw new RenException(ModuleConstant.NO_TEAMLEADER_AUTH); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                     return new Result(); |  |  |             } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 } |  |  |                 //是组长
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |             }else{ |  |  |                 return new Result(); | 
			
				
				
			
		
	
		
		
			
				
					|  |  |                 //未找到当前用户的成员信息
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |                 logger.error(ModuleConstant.NOT_BELONG_TO_CURRENT_GROUP); |  |  |  | 
			
		
	
		
		
			
				
					|  |  |                 throw new RenException(ModuleConstant.NOT_BELONG_TO_CURRENT_GROUP); |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |             } |  |  |             } | 
			
		
	
		
		
			
				
					|  |  |         }else{ |  |  |         }else{ | 
			
		
	
		
		
			
				
					|  |  |             //未能识别该话题基本信息
 |  |  |             //未能识别该话题基本信息
 | 
			
		
	
	
		
		
			
				
					|  | 
 |