From 5ef66da459a5a313477ccc62ddb2e26cac6f42ba Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期四, 22 八月 2024 17:00:51 +0800
Subject: [PATCH] 修复六位码匹配不上不警告的bug

---
 _Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl b/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
index cbf8db1..5e58ffd 100644
--- a/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
+++ b/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
@@ -8,6 +8,9 @@
   TextBody:
   [*
     // Akari Aug-21-2024 (created)
+    owner.DispatchShiftPlan( relflush );
+    owner.RB_DispatchShiftPlanBroker().Source().FlatQuery( "truncate table A_DispatchShiftPlan" );
+    
     now := DateTime::Now();
     macroPlanName := macroPlan.MDSMacroPlan().Description();
     traverse( macroPlan,Unit.UnitPeriod.astype( UnitPeriodTime ).ShiftPlan,shiftPlan ){

--
Gitblit v1.9.3