From bf28a7efaf7284ac3c39063b107a31d1d3efcff6 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期四, 24 十月 2024 11:08:26 +0800
Subject: [PATCH] 修复一些bug,产线筛选momo不生效
---
_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
index 2f98a27..b61bf36 100644
--- a/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
+++ b/_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
@@ -3,7 +3,7 @@
StaticMethod Dispatch (
Date startDate,
Date endDate,
- const OfflinePlanTable offlinePlan,
+ const NewOfflinePlanTable offlinePlan,
RecycleBin owner
)
{
@@ -30,7 +30,7 @@
unitIndexTree.Root().AddChild( unitHandle,i );
}
- traverse( offlinePlan,OfflinePlanRow,row ){
+ traverse( offlinePlan,NewOfflinePlanRow,row ){
productID := row.ProductID();
productLine := row.ProductionLine();
factory := constnull( Unit );
@@ -48,9 +48,9 @@
factory := temp2;
}
}
- traverse( row,OfflinePlanCell,cell ,startDate <= cell.OfflinePlanColumn().ColumnDate() and endDate > cell.OfflinePlanColumn().ColumnDate()){
- shiftDate := cell.OfflinePlanColumn().ColumnDate();
- shiftName := cell.Shift();
+ traverse( row,NewOfflinePlanCell,cell ,startDate <= cell.NewOfflinePlanColumn().StartDate() and endDate >= cell.NewOfflinePlanColumn().EndDate()){
+ shiftDate := cell.NewOfflinePlanColumn().StartDate();
+ shiftName := cell.ShiftPatternName();
shiftVolume := cell.Quantity();
shiftDayTime := constnull( ShiftDayTime );
{
--
Gitblit v1.9.3