From b83ab352296df6bb1c74c78168a62c1606e298a5 Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期二, 27 八月 2024 10:58:51 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg --- _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