From 56d51032a83ae485e11307ea8b2fdac736cb468b Mon Sep 17 00:00:00 2001 From: hongji.li <hongji.a.li@capgemini.com> Date: 星期三, 13 九月 2023 11:00:11 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_lhj --- _Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl b/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl index fa613b6..b5618c6 100644 --- a/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl +++ b/_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl @@ -15,13 +15,14 @@ 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"; + capacitytype := "Transport quantity"; // Get the root data Unit::CreateOrUpdate( this, -- Gitblit v1.9.3