From 0b288e121e532eacae485608cd8f2ae497977faa Mon Sep 17 00:00:00 2001
From: yypsybs <yypsybs@foxmail.com>
Date: 星期一, 18 九月 2023 17:02:36 +0800
Subject: [PATCH] Merge branch 'dev' into dev_yx

---
 _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