From 3cf4ce0c94be1a8928ffe280429d6297583b3b8d Mon Sep 17 00:00:00 2001
From: rislai <risheng.lai@capgemini.com>
Date: 星期三, 07 八月 2024 17:23:30 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/BL/Type_MachiningPipelineRow/Method_SetCellAssemblyValue.qbl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_Main/BL/Type_MachiningPipelineRow/Method_SetCellAssemblyValue.qbl b/_Main/BL/Type_MachiningPipelineRow/Method_SetCellAssemblyValue.qbl
index 00732ef..7e188ba 100644
--- a/_Main/BL/Type_MachiningPipelineRow/Method_SetCellAssemblyValue.qbl
+++ b/_Main/BL/Type_MachiningPipelineRow/Method_SetCellAssemblyValue.qbl
@@ -2,7 +2,7 @@
 #parent: #root
 Method SetCellAssemblyValue (
   MachiningPipelineColumn column,
-  String unit,
+  Boolean iscc,
   Real quantity
 )
 {
@@ -11,9 +11,9 @@
     // 鐢勫叞楦� Jun-24-2024 (created)
     cell := selectobject( this, Cell, cell, cell.Column() = column );
     
-    if( unit = MachiningPipelineReport::GetDefaultCCAssemnlyUnit() ){
+    if( iscc ){
       cell.CCAssemblyPlanQty( cell.CCAssemblyPlanQty() + quantity );
-    }else if( unit = MachiningPipelineReport::GetDefaultDLAssemnlyUnit() ){
+    } else {
       cell.DLAssemblyPlanQty( cell.DLAssemblyPlanQty() + quantity );
     }
   *]

--
Gitblit v1.9.3