| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -929,14 +929,13 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        wrapper.eq(TopicConstant.TOPIC_ID,formDTO.getTopicId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        wrapper.orderByAsc(TopicConstant.SORT); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<ResiTopicAttachmentEntity> attachments = resiTopicAttachmentDao.selectList(wrapper); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (attachments.size()==NumConstant.ZERO){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            return new TopicInfoDTO(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<String> attachmentUrls = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        for(ResiTopicAttachmentEntity attachment : attachments){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            attachmentUrls.add(attachment.getAttachmentUrl()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (attachments.size() != NumConstant.ZERO){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            List<String> attachmentUrls = new ArrayList<>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            for(ResiTopicAttachmentEntity attachment : attachments){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                attachmentUrls.add(attachment.getAttachmentUrl()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            topicInfo.setTopicImgs(attachmentUrls); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        topicInfo.setTopicImgs(attachmentUrls); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //话题发起人
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IssueInitiatorFormDTO issueInitiator = new IssueInitiatorFormDTO(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        issueInitiator.setUserId(topicInfo.getPublishedUser()); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |