From cc75dba048cbaeb44066ed21021d901f9a4f6477 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 23 十月 2024 17:53:34 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg

---
 _Main/BL/Type_WholeShift/Method_MobileCycleTask.qbl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/_Main/BL/Type_WholeShift/Method_MobileCycleTask.qbl b/_Main/BL/Type_WholeShift/Method_MobileCycleTask.qbl
index e561a1a..91571aa 100644
--- a/_Main/BL/Type_WholeShift/Method_MobileCycleTask.qbl
+++ b/_Main/BL/Type_WholeShift/Method_MobileCycleTask.qbl
@@ -12,10 +12,14 @@
     
     // 鍒ゆ柇鍙敤浜ц兘鏄惁涓�鑷�
     if ( fillUPTB.BaseAvailableCapacity().HoursAsReal() = targetUPTB.BaseAvailableCapacity().HoursAsReal() ) {
+      // 鍒犻櫎闇�瑕佸~鍏呯殑UPTB
+      PeriodTaskOperation::Delete( selectset( fillUPTB, PeriodTaskOperation, tempPTO, true ) );
+      
       traverse ( targetUPTB, PeriodTaskOperation, pto ) {
         PeriodTaskOperation::Create( pto.Operation(), fillUPTB, pto.Quantity(), false );
       }
       
+      // 鍒犻櫎鐩爣琚彇鏁扮殑UPTB
       PeriodTaskOperation::Delete( selectset( targetUPTB, PeriodTaskOperation, tempPTO, true ) );
     }
     

--
Gitblit v1.9.3