| 
						
						
							
								
							
						
						
					 | 
					@ -216,12 +216,15 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //附件按类型分组【图片、语音】
 | 
					 | 
					 | 
					        //附件按类型分组【图片、语音】
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        List<String> eventImgs = new ArrayList<>(); | 
					 | 
					 | 
					        List<String> eventImgs = new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        List<String> voiceList = new ArrayList<>(); | 
					 | 
					 | 
					        List<FileCommonDTO> voiceList = new ArrayList<>(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        dto.getAttachmentList().forEach(file->{ | 
					 | 
					 | 
					        dto.getAttachmentList().forEach(file->{ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if("image".equals(file.getType())){ | 
					 | 
					 | 
					            if("image".equals(file.getType())){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                eventImgs.add(file.getUrl()); | 
					 | 
					 | 
					                eventImgs.add(file.getUrl()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            }else if("voice".equals(file.getType())){ | 
					 | 
					 | 
					            }else if("voice".equals(file.getType())){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                voiceList.add(file.getUrl()); | 
					 | 
					 | 
					                FileCommonDTO fl = new FileCommonDTO(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                fl.setUrl(file.getUrl()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                fl.setDuration(file.getDuration()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                voiceList.add(fl); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        }); | 
					 | 
					 | 
					        }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        dto.setEventImgs(eventImgs); | 
					 | 
					 | 
					        dto.setEventImgs(eventImgs); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -350,6 +353,7 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                entity.setAttachmentUrl(file.getUrl()); | 
					 | 
					 | 
					                entity.setAttachmentUrl(file.getUrl()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                entity.setSort(sort); | 
					 | 
					 | 
					                entity.setSort(sort); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                entity.setStatus(TopicConstant.AUDITING); | 
					 | 
					 | 
					                entity.setStatus(TopicConstant.AUDITING); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                entity.setDuration(file.getDuration()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                sort++; | 
					 | 
					 | 
					                sort++; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                resiEventAttachmentDao.insert(entity); | 
					 | 
					 | 
					                resiEventAttachmentDao.insert(entity); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |