| 
					
				 | 
			
			
				@@ -19,6 +19,7 @@ import com.ym.mec.common.constant.CommonConstants; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ym.mec.common.controller.BaseController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ym.mec.common.entity.HttpResponseResult; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ym.mec.common.exception.BizException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.ym.mec.common.service.IdGeneratorService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.commons.io.FileUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.commons.lang3.StringUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.slf4j.Logger; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -54,6 +55,8 @@ public class SoundServiceImpl implements SoundService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private SysMusicScoreDao sysMusicScoreDao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private IdGeneratorService idGeneratorService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 音频节拍信息提取 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -145,7 +148,7 @@ public class SoundServiceImpl implements SoundService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         File f = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             URL url = new URL(sysMusicScore.getUrl()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            String filePath = FileUtils.getTempDirectoryPath()+ System.currentTimeMillis() + ".mp3"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String filePath = FileUtils.getTempDirectoryPath()+ idGeneratorService.generatorId("sound") + ".mp3"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             f = new File(filePath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             FileUtils.copyURLToFile(url, f); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |