| 
					
				 | 
			
			
				@@ -121,6 +121,9 @@ public class SoundServiceImpl implements SoundService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public HttpResponseResult compare(MultipartFile record, Integer musicScoreId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(record.getSize()<1024){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            throw new BizException("录音时间太短"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SysMusicScore sysMusicScore = sysMusicScoreDao.get(musicScoreId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(Objects.isNull(sysMusicScore)|| StringUtils.isBlank(sysMusicScore.getUrl())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             throw new BizException("伴奏信息错误"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -139,7 +142,7 @@ public class SoundServiceImpl implements SoundService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             f = new File(filePath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             FileUtils.copyURLToFile(url, f); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            LOGGER.info("文件名:{},伴奏编号:{},源文件:{}", record.getOriginalFilename(), musicScoreId, filePath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            LOGGER.info("录音文件大小:{}MB,伴奏编号:{},源文件:{}", record.getSize()/1048576f, musicScoreId, filePath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             BigDecimal oneHandred = new BigDecimal(100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |