|  |  |  | @ -479,12 +479,13 @@ public class PurApplyController { | 
			
		
	
		
			
				
					|  |  |  |  |     @PostMapping("/purchase/apply/addDetail") | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse addDetail(@RequestBody  List<PurApplyDetailEntity>  list) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         for (PurApplyDetailEntity purApplyDetailEntity : list) { | 
			
		
	
		
			
				
					|  |  |  |  |             purApplyDetailService.insert(purApplyDetailEntity); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.success(list.get(0).getOrderIdFk()); | 
			
		
	
		
			
				
					|  |  |  |  |             if(list.size()!=0) { | 
			
		
	
		
			
				
					|  |  |  |  |                 for (PurApplyDetailEntity purApplyDetailEntity : list) { | 
			
		
	
		
			
				
					|  |  |  |  |                     purApplyDetailService.insert(purApplyDetailEntity); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |                 return ResultVOUtils.success(list.get(0).getOrderIdFk()); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |        return ResultVOUtils.error(555,"请选择数据!"); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     /** | 
			
		
	
	
		
			
				
					|  |  |  | 
 |