| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1402,7 +1402,11 @@ public class EntrustmentServiceImpl extends ServiceImpl<EntrustmentMapper, Entru | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (materialList == null || materialList.size() == 0) { | 
					 | 
					 | 
					 | 
					            if (materialList == null || materialList.size() == 0) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                throw new RuntimeException("请至少添加一个检材后再提交!"); | 
					 | 
					 | 
					 | 
					                throw new RuntimeException("请至少添加一个检材后再提交!"); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            entrustment.setEntrustRequirement(this.buildEntrustReq(materialList)); | 
					 | 
					 | 
					 | 
					            if (StrUtil.isBlank(entrust.getEntrustRequirement())) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                entrustment.setEntrustRequirement(this.buildEntrustReq(materialList)); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            } else { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                entrustment.setEntrustRequirement(entrust.getEntrustRequirement()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.updateById(entrustment); | 
					 | 
					 | 
					 | 
					            this.updateById(entrustment); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            result = entrustment; | 
					 | 
					 | 
					 | 
					            result = entrustment; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |