From fc99b89d91509a3d10495f378a2dcdd65d239ecc Mon Sep 17 00:00:00 2001
From: hongji.li <hongji.a.li@capgemini.com>
Date: 星期五, 22 九月 2023 13:42:19 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_cyy_tempRelease
---
_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl b/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl
index fa613b6..7c856ff 100644
--- a/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl
+++ b/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl
@@ -15,20 +15,22 @@
listtodeal := selectset( this, MappingOperation, item, true );
} else {
listtodeal := selectset( this, MappingOperation, item,
- businesstypes.Difference( businesstypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0
- );
+ // businesstypes.Difference( businesstypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0
+ businesstypes.Find( item.BusinessType() ) >= 0
+ );
}
//Set the Default values
unitofmeasurename := "PCS";
- capacitytype := "Infinite";
+ infinite := "Infinite";
+ capacitytype := "Transport quantity";
// Get the root data
Unit::CreateOrUpdate( this,
"澶╅┈闆嗗洟",
"澶╅┈闆嗗洟",
"",
- capacitytype,
+ infinite,
unitofmeasurename );
// Get the sub root data
@@ -36,14 +38,14 @@
"鐢熶骇",
"鐢熶骇",
"澶╅┈闆嗗洟",
- capacitytype,
+ infinite,
unitofmeasurename );
Unit::CreateOrUpdate( this,
"渚涘簲鍟�",
"渚涘簲鍟�",
"澶╅┈闆嗗洟",
- capacitytype,
+ infinite,
unitofmeasurename );
Unit::CreateOrUpdate( this,
@@ -64,7 +66,7 @@
item.OrganCode(),
OrgName,
"鐢熶骇",
- capacitytype,
+ infinite,
unitofmeasurename );
//Get the second level unit
@@ -73,7 +75,7 @@
secondlevelid,
secondlevelid,
item.OrganCode(),
- capacitytype,
+ infinite,
unitofmeasurename );
//Get the third level unit
--
Gitblit v1.9.3