From 3cb5a54def670d97301f07170fcaad213bfc54f2 Mon Sep 17 00:00:00 2001
From: yypsybs <yypsybs@foxmail.com>
Date: 星期六, 09 九月 2023 15:30:46 +0800
Subject: [PATCH] 同步逻辑由MacroPlan移到MPSync
---
_Main/BL/Type_MacroPlan/Method_MappingUnitOfMeasureData.qbl | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/_Main/BL/Type_MacroPlan/Method_MappingUnitOfMeasureData.qbl b/_Main/BL/Type_MacroPlan/Method_MappingUnitOfMeasureData.qbl
index 2c4ce55..c4a9894 100644
--- a/_Main/BL/Type_MacroPlan/Method_MappingUnitOfMeasureData.qbl
+++ b/_Main/BL/Type_MacroPlan/Method_MappingUnitOfMeasureData.qbl
@@ -5,19 +5,19 @@
Description: 'ETL鏁版嵁杞ā鍨嬫暟鎹�'
TextBody:
[*
- // yypsybs Aug-15-2023 (created)
-
- defaultOld := UnitOfMeasure_MP::FindDefault( this );
- defaultNew := select( this, MappingUnitOfMeasure, item, true, item.IsDefault() );
-
- if( not isnull( defaultOld ) and not isnull( defaultNew )
- and defaultOld.Name() <> defaultNew.Name() ) {
- defaultOld.IsDefault(false);
- //error( "multi default unit of measure" )
- }
-
- traverse( this, MappingUnitOfMeasure, item ) {
- UnitOfMeasure_MP::CreateOrUpdate( this, item.Name(), item.IsDefault() );
- }
+ //// yypsybs Aug-15-2023 (created)
+ //
+ //defaultOld := UnitOfMeasure_MP::FindDefault( this );
+ //defaultNew := select( this, MappingUnitOfMeasure, item, true, item.IsDefault() );
+ //
+ //if( not isnull( defaultOld ) and not isnull( defaultNew )
+ // and defaultOld.Name() <> defaultNew.Name() ) {
+ // defaultOld.IsDefault(false);
+ // //error( "multi default unit of measure" )
+ //}
+ //
+ //traverse( this, MappingUnitOfMeasure, item ) {
+ // UnitOfMeasure_MP::CreateOrUpdate( this, item.Name(), item.IsDefault() );
+ //}
*]
}
--
Gitblit v1.9.3