From ee410ee1b320ad9fc5066afd1534c944dedc184d Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期日, 25 八月 2024 18:20:14 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev
---
_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl b/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
index cbf8db1..1402b5a 100644
--- a/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
+++ b/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
@@ -2,12 +2,16 @@
#parent: #root
StaticMethod Dispatch (
const MacroPlan macroPlan,
- RecycleBin owner
+ RecycleBin owner,
+ String versionFlag
)
{
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 ){
@@ -25,6 +29,7 @@
ShiftDate := shiftPlan.UnitPeriodTime().Period_MP().StartDate(),
Tips := shiftPlan.Remark(),
VersionName := macroPlanName,
+ VersionFlag := versionFlag,
FactoryName := factory.ID(),
InterfaceTime := now
);
--
Gitblit v1.9.3