From 99efdc3a1d2a85c727e48e32d96866a524fb59ed Mon Sep 17 00:00:00 2001 From: yypsybs <yypsybs@foxmail.com> Date: 星期一, 25 九月 2023 17:15:48 +0800 Subject: [PATCH] Merge branch 'dev_yx' into dev --- _Main/BL/Type_ManufactureLTImputation/StaticMethod_Transfer.qbl | 42 +++++++++++++++++++++--------------------- 1 files changed, 21 insertions(+), 21 deletions(-) diff --git a/_Main/BL/Type_ManufactureLTImputation/StaticMethod_Transfer.qbl b/_Main/BL/Type_ManufactureLTImputation/StaticMethod_Transfer.qbl index 650b697..ae70b83 100644 --- a/_Main/BL/Type_ManufactureLTImputation/StaticMethod_Transfer.qbl +++ b/_Main/BL/Type_ManufactureLTImputation/StaticMethod_Transfer.qbl @@ -8,26 +8,26 @@ Description: '绉讳氦鎺у埗鏉�' TextBody: [* - // yypsybs Aug-25-2023 (created) - if( isnull( oldMP ) ) { - info( "========transfer ManufactureLTImputations to macroPlan " + [String]newMP.MDSID() + "========" ); - } else { - info( "========transfer ManufactureLTImputations from macroPlan " + [String]oldMP.MDSID() + " to macroPlan " + [String]newMP.MDSID() + "========" ); - } - // 娓呯┖鏂扮殑锛岃�佺殑澶嶅埗鍒版柊鐨勶紝娓呯┖鑰佺殑 - if( not isnull( oldMP ) and not isnull( newMP ) ) { - info( "old ManufactureLTImputation size : " + [String]oldMP.ManufactureLTImputation( relsize ) ) - traverse( oldMP, ManufactureLTImputation, parent, true ) { - traverse( parent, ManufactureLTProcessSection, child, true ) { - ManufactureLTProcessSection::CreateOrUpdate( newMP, parent.OrgCode(), parent.SkuID(), parent.Describe(), - child.ProcessSection(), child.Sequence(), child.Line(), child.SystemLT(), - child.Edited(), child.EditLT(), child.Describe() ); - } - } - } - // 澶勭悊鏂扮殑鐨刼peration - traverse( newMP, Routing.RoutingStep.Operation, item ) { - ManufactureLTProcessSection::CreateOrUpdate( item ); - } + //// yypsybs Aug-25-2023 (created) + //if( isnull( oldMP ) ) { + // info( "========transfer ManufactureLTImputations to macroPlan " + [String]newMP.MDSID() + "========" ); + //} else { + // info( "========transfer ManufactureLTImputations from macroPlan " + [String]oldMP.MDSID() + " to macroPlan " + [String]newMP.MDSID() + "========" ); + //} + //// 娓呯┖鏂扮殑锛岃�佺殑澶嶅埗鍒版柊鐨勶紝娓呯┖鑰佺殑 + //if( not isnull( oldMP ) and not isnull( newMP ) ) { + // info( "old ManufactureLTImputation size : " + [String]oldMP.ManufactureLTImputation( relsize ) ) + // traverse( oldMP, ManufactureLTImputation, parent, true ) { + // traverse( parent, ManufactureLTProcessSection, child, true ) { + // ManufactureLTProcessSection::CreateOrUpdate( newMP, parent.OrgCode(), parent.SkuID(), parent.Describe(), + // child.ProcessSection(), child.Sequence(), child.Line(), child.SystemLT(), + // child.Edited(), child.EditLT(), child.Describe() ); + // } + // } + //} + //// 澶勭悊鏂扮殑鐨刼peration + //traverse( newMP, Routing.RoutingStep.Operation, item ) { + // ManufactureLTProcessSection::CreateOrUpdate( item ); + //} *] } -- Gitblit v1.9.3