From 0090b5a24367caf194100ed356273bb5ee304017 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期一, 26 八月 2024 17:50:33 +0800
Subject: [PATCH] 修改加班时间
---
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl b/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl
index bead82a..cc699fc 100644
--- a/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl
+++ b/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl
@@ -29,7 +29,7 @@
traverse( owner,Unit,unit,unit.HasCapacityTypeTime() and not unit.HasChild()){
// unit.AsEntity().DisplayNameForSelection()
row := table.MP_Row( relnew,CustomName := unit.ID(),Index := table.GetRowIndexCache() );
- throughput := sum( unit,Operation,operation,operation.Throughput() ) / unit.Operation( relsize );
+ throughput := guard( sum( unit,Operation,operation,operation.Throughput() ) / unit.Operation( relsize ) , 0 );
unitPeriodTimes := selectset( unit,UnitPeriod.astype( UnitPeriodTime ),unitPeriodTime,
unitPeriodTime.Period_MP().StartDate() >= startDate
--
Gitblit v1.9.3