From 301162c159efa01358ff8c63566d73e47851e1b6 Mon Sep 17 00:00:00 2001 From: lihongji <3117313295@qq.com> Date: 星期一, 19 八月 2024 15:04:35 +0800 Subject: [PATCH] 接口生成数据 --- _Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl b/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl index 3fa0a72..882d9cb 100644 --- a/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl +++ b/_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl @@ -16,14 +16,14 @@ traverse ( u, Lane.LaneLeg.Trip, t ) { traverse ( t, ProductInTrip, pit, pit.Quantity() > 0.0 ) { // 鎵捐 - tpr := TransferPlanRow::FindTransferPlanRowTypeIndex( t.LaneLeg().AsOriginStockingPointLeg().StockingPoint_MP().Name(), - t.LaneLeg().AsDestinationStockingPointLeg().StockingPoint_MP().Name(), + tpr := TransferPlanRow::FindTransferPlanRowTypeIndex( TransferPlanRow::IdentifyTheFactory( t.LaneLeg().AsOriginStockingPointLeg().StockingPoint_MP() ), + TransferPlanRow::IdentifyTheFactory( t.LaneLeg().AsDestinationStockingPointLeg().StockingPoint_MP() ), pit.Product_MP().ID() ); if ( isnull( tpr ) ) { tpr := macroPlan.TransferPlanRow( relnew, RowNr := rowNr, - SourceStockpoingPointID := t.LaneLeg().AsOriginStockingPointLeg().StockingPoint_MP().Name(), - TargetStockpoingPointID := t.LaneLeg().AsDestinationStockingPointLeg().StockingPoint_MP().Name(), + SourceStockpoingPointID := TransferPlanRow::IdentifyTheFactory( t.LaneLeg().AsOriginStockingPointLeg().StockingPoint_MP() ), + TargetStockpoingPointID := TransferPlanRow::IdentifyTheFactory( t.LaneLeg().AsDestinationStockingPointLeg().StockingPoint_MP() ), ProductID := pit.Product_MP().ID() ); } -- Gitblit v1.9.3