|  |  |  | @ -470,20 +470,15 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @PostMapping("/udiwms/inout/biz/insertInvoice") | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse insertInvoice(@RequestBody List<IoOrderDetailResultEntity> list) { | 
			
		
	
		
			
				
					|  |  |  |  |         if (CollUtil.isEmpty(list)) { | 
			
		
	
		
			
				
					|  |  |  |  |             return ResultVOUtils.error(500, "请选入产品!"); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         for (IoOrderDetailResultEntity ioOrderDetailResultEntity : list) { | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse insertInvoice(@RequestBody IoOrderDetailBizEntity ioOrderDetailBizEntity) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             IoOrderInvoiceEntity ioOrderInvoiceEntity = new IoOrderInvoiceEntity(); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setOrderIdFk(ioOrderDetailResultEntity.getOrderIdFk()); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setBindRlFk(ioOrderDetailResultEntity.getBindRlFk() + ""); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setBatchNo(ioOrderDetailResultEntity.getBatchNo()); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setProductDate(ioOrderDetailResultEntity.getProductDate()); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setExpireDate(ioOrderDetailResultEntity.getExpireDate()); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setOrderIdFk(ioOrderDetailBizEntity.getOrderIdFk()); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setBindRlFk(ioOrderDetailBizEntity.getBindRlFk() + ""); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setBatchNo(ioOrderDetailBizEntity.getBatchNo()); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setProductDate(ioOrderDetailBizEntity.getProductDate()); | 
			
		
	
		
			
				
					|  |  |  |  |             ioOrderInvoiceEntity.setExpireDate(ioOrderDetailBizEntity.getExpireDate()); | 
			
		
	
		
			
				
					|  |  |  |  |             boolean b = ioOrderInvoiceService.insertInvoice(ioOrderInvoiceEntity); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.success("成功"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |