From 36be4b0ee39895e91f18cb708f46bc90563867ca Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期五, 23 八月 2024 01:06:27 +0800
Subject: [PATCH] 添加班次计划接口调用按钮
---
_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl b/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
index 5e58ffd..1402b5a 100644
--- a/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
+++ b/_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
@@ -2,14 +2,15 @@
#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" );
+ // owner.RB_DispatchShiftPlanBroker().Source().FlatQuery( "truncate table A_DispatchShiftPlan" );
now := DateTime::Now();
macroPlanName := macroPlan.MDSMacroPlan().Description();
@@ -28,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