From 3bf396310a7f98da92b47fcbf5799e7a01026451 Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期四, 10 十月 2024 17:55:36 +0800 Subject: [PATCH] 修复一些bug --- _Main/BL/Type_LocalTool/StaticMethod_BatchSetUnitShiftPattern.qbl | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/_Main/BL/Type_LocalTool/StaticMethod_BatchSetUnitShiftPattern.qbl b/_Main/BL/Type_LocalTool/StaticMethod_BatchSetUnitShiftPattern.qbl index c4d476f..b53b40e 100644 --- a/_Main/BL/Type_LocalTool/StaticMethod_BatchSetUnitShiftPattern.qbl +++ b/_Main/BL/Type_LocalTool/StaticMethod_BatchSetUnitShiftPattern.qbl @@ -20,9 +20,6 @@ period_MP.TimeUnit() = 'Week' and period_MP.StartDate() >= startDate and period_MP.EndDate() <= endDate and exists( weekdays, Elements,dayOfWeek,dayOfWeek = period_MP.StartDate().DayOfWeek() ),period_MP.StartDate()); - traverse( dayPeriod_MPs ,Elements,element ){ - info( element.StartDate().DayOfWeek() ); - } if( dayPeriod_MPs.Size() > 0 ){ unitPeriodTimes := selectset( unit,UnitPeriod.astype( UnitPeriodTime ),unitPeriodTime,exists( dayPeriod_MPs,Elements,period_MP,period_MP = unitPeriodTime.Period_MP()) and not isnull( unitPeriodTime.UnitAvailability())); -- Gitblit v1.9.3