From 8f6eecfd4ab8b0be0d2e16ad907abd230d2a65ae Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期一, 28 十月 2024 12:09:30 +0800
Subject: [PATCH] 修复一些bug

---
 _Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
index ff4dd5e..5de7a0d 100644
--- a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
+++ b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
@@ -58,7 +58,7 @@
         lineHandle := lineIndexTree.GetHandle( row.ProductionLine() );
         lineIndex := guard( lineIndexTree.Root().Child( lineHandle ),null( NamedValue ));
         if( isnull( lineIndex )){
-          line := owner.DispatchShiftSchedulingLine( relnew,ID := IDHolder::GetGUID(),LineID := row.ProductionLine() );
+          line := owner.DispatchShiftSchedulingLine( relnew,ID := IDHolder::GetGUID(),LineName := row.ProductionLine() );
           line.FactoryName( factory.Name() );
           line.InterfaceTime( now );
           line.VersionName( macroPlan.MDSMacroPlan().Description() );

--
Gitblit v1.9.3