|  |  | @ -170,9 +170,9 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             orderEntity.setDeptCode(invWarehouseEntity.getParentId()); |  |  |  |             orderEntity.setDeptCode(invWarehouseEntity.getParentId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             orderEntity.setInvCode(orderEntity.getInvCode()); |  |  |  |             orderEntity.setInvCode(orderEntity.getInvCode()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             orderEntity.setBusType(bussinessTypeEntity.getBusType()); |  |  |  |             orderEntity.setBusType(bussinessTypeEntity.getBusType()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (addBizProductReqeust.getProductType() == null){ |  |  |  |             if (addBizProductReqeust.getProductType() == null) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 orderEntity.setProductType(1); |  |  |  |                 orderEntity.setProductType(1); | 
			
		
	
		
		
			
				
					
					|  |  |  |             }else { |  |  |  |             } else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 orderEntity.setProductType(addBizProductReqeust.getProductType()); |  |  |  |                 orderEntity.setProductType(addBizProductReqeust.getProductType()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -684,7 +684,7 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         filterOrderRequest.setEndTime(endTime); |  |  |  |         filterOrderRequest.setEndTime(endTime); | 
			
		
	
		
		
			
				
					
					|  |  |  |         filterOrderRequest.setBillNo(billNo); |  |  |  |         filterOrderRequest.setBillNo(billNo); | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<IoOrderResponse> ioOrderResponses = orderService.getfilterOrderList(filterOrderRequest); |  |  |  |         List<IoOrderResponse> ioOrderResponses = orderService.getfilterOrderList(filterOrderRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (CollUtil.isEmpty(ioOrderResponses)){ |  |  |  |         if (CollUtil.isEmpty(ioOrderResponses)) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             PageInfo<IoOrderResponse> pageInfo = new PageInfo<>(ioOrderResponses); |  |  |  |             PageInfo<IoOrderResponse> pageInfo = new PageInfo<>(ioOrderResponses); | 
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.page(pageInfo); |  |  |  |             return ResultVOUtils.page(pageInfo); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -692,7 +692,6 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderDetailBizRequest.setOrderIdFks(orders); |  |  |  |         orderDetailBizRequest.setOrderIdFks(orders); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderDetailBizRequest.setLimit(finishBizRequest.getLimit()); |  |  |  |         orderDetailBizRequest.setLimit(finishBizRequest.getLimit()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderDetailBizRequest.setPage(finishBizRequest.getPage()); |  |  |  |         orderDetailBizRequest.setPage(finishBizRequest.getPage()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderDetailBizRequest.setKeyWords(finishBizRequest.getKeyWords()); |  |  |  |         orderDetailBizRequest.setKeyWords(finishBizRequest.getKeyWords()); | 
			
		
	
	
		
		
			
				
					|  |  | @ -704,7 +703,7 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     .sorted(Comparator.comparing(IoOrderDetailBizResponse::getNameCode)) |  |  |  |                     .sorted(Comparator.comparing(IoOrderDetailBizResponse::getNameCode)) | 
			
		
	
		
		
			
				
					
					|  |  |  |                     .collect(Collectors.toList()); |  |  |  |                     .collect(Collectors.toList()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (CollUtil.isEmpty(list)){ |  |  |  |         if (CollUtil.isEmpty(list)) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             PageInfo<IoOrderDetailBizResponse> pageInfo = new PageInfo<>(list); |  |  |  |             PageInfo<IoOrderDetailBizResponse> pageInfo = new PageInfo<>(list); | 
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.page(pageInfo); |  |  |  |             return ResultVOUtils.page(pageInfo); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -904,7 +903,7 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             for (IoOrderInvoiceEntity orderInvoiceEntity : orderInvoiceEntities) { |  |  |  |             for (IoOrderInvoiceEntity orderInvoiceEntity : orderInvoiceEntities) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (StrUtil.trimToEmpty(orderInvoiceEntity.getBatchNo()).equals(StrUtil.trimToEmpty(orderDetailCodeEntity.getBatchNo())) |  |  |  |                 if (StrUtil.trimToEmpty(orderInvoiceEntity.getBatchNo()).equals(StrUtil.trimToEmpty(orderDetailCodeEntity.getBatchNo())) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         && StrUtil.trimToEmpty(orderInvoiceEntity.getBindRlFk()).equals(StrUtil.trimToEmpty(orderDetailCodeEntity.getBindRlFk() + ""))) { |  |  |  |                         && StrUtil.trimToEmpty(orderInvoiceEntity.getBindRlFk()).equals(StrUtil.trimToEmpty(orderDetailCodeEntity.getBindRlFk() + ""))) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     if (StrUtil.isNotEmpty(orderInvoiceEntity.getPrice())){ |  |  |  |                     if (StrUtil.isNotEmpty(orderInvoiceEntity.getPrice())) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         BigDecimal price = new BigDecimal(orderInvoiceEntity.getPrice()); |  |  |  |                         BigDecimal price = new BigDecimal(orderInvoiceEntity.getPrice()); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         invoiceAmount = invoiceAmount.add(price); |  |  |  |                         invoiceAmount = invoiceAmount.add(price); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
	
		
		
			
				
					|  |  | @ -935,22 +934,26 @@ public class IoOrderDetailBizController extends BaseController { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |      * 获取上货记录 |  |  |  |      * 获取上货记录 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      * | 
			
		
	
		
		
			
				
					
					|  |  |  |      * @param orderDetailBizRequest |  |  |  |      * @param orderDetailBizRequest | 
			
		
	
		
		
			
				
					
					|  |  |  |      * @param bindingResult |  |  |  |      * @param bindingResult | 
			
		
	
		
		
			
				
					
					|  |  |  |      * @return |  |  |  |      * @return | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     @GetMapping("/udiwms/inout/bizDetail/orderOutRecordPage") |  |  |  |     @GetMapping("/udiwms/inout/bizDetail/orderOutRecordPage") | 
			
		
	
		
		
			
				
					
					|  |  |  |     public BaseResponse orderOutRecordPage(FilterOrderDetailBizRequest orderDetailBizRequest, |  |  |  |     public BaseResponse orderOutRecordPage(FilterOrderDetailBizRequest orderDetailBizRequest, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 BindingResult bindingResult) { |  |  |  |                                            BindingResult bindingResult) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (bindingResult.hasErrors()) { |  |  |  |         if (bindingResult.hasErrors()) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage()); |  |  |  |             return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage()); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |         } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         List<IoOrderDetailBizResponse> ioOrderDetailBizResponses = orderDetailBizService.orderOutRecordPage(orderDetailBizRequest); |  |  |  |         List<IoOrderDetailBizResponse> ioOrderDetailBizResponses = orderDetailBizService.orderOutRecordPage(orderDetailBizRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         PageInfo<IoOrderDetailBizResponse> pageInfo = new PageInfo<>(ioOrderDetailBizResponses); |  |  |  |         PageInfo<IoOrderDetailBizResponse> pageInfo = new PageInfo<>(ioOrderDetailBizResponses); | 
			
		
	
		
		
			
				
					
					|  |  |  |         PageSimpleResponse<IoOrderDetailBizResponse> pageSimpleResponse = new PageSimpleResponse<>(); |  |  |  |         PageSimpleResponse<IoOrderDetailBizResponse> pageSimpleResponse = new PageSimpleResponse<>(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         pageSimpleResponse.setTotal(pageInfo.getTotal()); |  |  |  |         pageSimpleResponse.setTotal(pageInfo.getTotal()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         pageSimpleResponse.setList(ioOrderDetailBizResponses); |  |  |  |         pageSimpleResponse.setList(ioOrderDetailBizResponses); | 
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.success(pageSimpleResponse); |  |  |  |         return ResultVOUtils.success(pageSimpleResponse); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |     } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |