|  |  | @ -603,7 +603,7 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |     @PostMapping("/udiwms/inout/biz/insertInvoice") |  |  |  |     @PostMapping("/udiwms/inout/biz/insertInvoice") | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Log(title = "发票管理", businessType = BusinessType.INSERT) |  |  |  |     @Log(title = "发票管理", businessType = BusinessType.INSERT) | 
			
		
	
		
		
			
				
					
					|  |  |  |     public BaseResponse insertInvoice(@RequestBody IoOrderInvoiceEntity ioOrderInvoice) { |  |  |  |     public BaseResponse insertInvoice(@RequestBody IoOrderInvoiceEntity ioOrderInvoice) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |         String billNo = null; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         for (IoOrderDetailBizEntity ioOrderDetailBizEntity : ioOrderInvoice.getList()) { |  |  |  |         for (IoOrderDetailBizEntity ioOrderDetailBizEntity : ioOrderInvoice.getList()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             IoOrderInvoiceEntity ioOrderInvoiceEntity = new IoOrderInvoiceEntity(); |  |  |  |             IoOrderInvoiceEntity ioOrderInvoiceEntity = new IoOrderInvoiceEntity(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             ioOrderInvoiceEntity.setOrderIdFk(ioOrderDetailBizEntity.getOrderIdFk()); |  |  |  |             ioOrderInvoiceEntity.setOrderIdFk(ioOrderDetailBizEntity.getOrderIdFk()); | 
			
		
	
	
		
		
			
				
					|  |  | @ -623,17 +623,26 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             ioOrderInvoiceEntity.setRemark(ioOrderInvoice.getRemark()); |  |  |  |             ioOrderInvoiceEntity.setRemark(ioOrderInvoice.getRemark()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             ioOrderInvoiceEntity.setLicenseUrl(ioOrderInvoice.getLicenseUrl()); |  |  |  |             ioOrderInvoiceEntity.setLicenseUrl(ioOrderInvoice.getLicenseUrl()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             boolean b = ioOrderInvoiceService.insertInvoice(ioOrderInvoiceEntity); |  |  |  |             boolean b = ioOrderInvoiceService.insertInvoice(ioOrderInvoiceEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             billNo = ioOrderDetailBizEntity.getOrderIdFk(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         IoOrderEntity orderEntity = orderService.findByBillNo(billNo); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         orderEntity.setUpdateTime(new Date()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         orderService.update(orderEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |         return ResultVOUtils.success("成功"); |  |  |  |         return ResultVOUtils.success("成功"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     @PostMapping("/udiwms/inout/biz/updateorderBiz") |  |  |  |     @PostMapping("/udiwms/inout/biz/updateorderBiz") | 
			
		
	
		
		
			
				
					
					|  |  |  |     public BaseResponse updateorderBiz(@RequestBody List<IoOrderDetailCodeEntity> list) { |  |  |  |     public BaseResponse updateorderBiz(@RequestBody List<IoOrderDetailCodeEntity> list) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         String billNo = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |         for (IoOrderDetailCodeEntity ioOrderDetailBizEntity : list) { |  |  |  |         for (IoOrderDetailCodeEntity ioOrderDetailBizEntity : list) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             ioOrderDetailBizEntity.setRegStatus(true); |  |  |  |             ioOrderDetailBizEntity.setRegStatus(true); | 
			
		
	
		
		
			
				
					
					|  |  |  |             orderDetailCodeService.updateOrderDetailBiz(ioOrderDetailBizEntity); |  |  |  |             orderDetailCodeService.updateOrderDetailBiz(ioOrderDetailBizEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             billNo = ioOrderDetailBizEntity.getOrderIdFk(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         IoOrderEntity orderEntity = orderService.findByBillNo(billNo); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         orderEntity.setUpdateTime(new Date()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         orderService.update(orderEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |         return ResultVOUtils.success("成功"); |  |  |  |         return ResultVOUtils.success("成功"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |