From bfc0b1d0712613278dc218c5a7aa2ca797a3fbe2 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 21 十一月 2024 17:41:31 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg

---
 _Main/BL/Type_NewOfflinePlanCell/StaticMethod_SynchronizeToNewSupply.qbl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_SynchronizeToNewSupply.qbl b/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_SynchronizeToNewSupply.qbl
index d00ed54..befdd60 100644
--- a/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_SynchronizeToNewSupply.qbl
+++ b/_Main/BL/Type_NewOfflinePlanCell/StaticMethod_SynchronizeToNewSupply.qbl
@@ -21,11 +21,11 @@
         o  := select( macroPlan, Unit.Operation, tempO, tempO.ID() = cell.NewOfflinePlanRow().OperationID() );
         up := select( macroPlan, Unit.UnitPeriod, tempUP, tempUP.UnitID() = cell.NewOfflinePlanRow().ProductionLine() and tempUP.StartDate() = cell.NewOfflinePlanColumn().StartDate() );
         if ( not isnull( o ) and not isnull( up ) ) {
-          PeriodTaskOperation::Create( o, up, cell.Quantity(), false );
+          PeriodTaskOperation::Create( o, up, cell.Quantity(), true );
         }
       } else if ( not isnull( pto ) ) {
         if ( [Number]cell.Quantity() <> [Number]pto.Quantity() ) {
-          pto.Update( cell.Quantity(), false );
+          pto.Update( cell.Quantity(), true );
         }
       }
       

--
Gitblit v1.9.3