From 1aa50242db4bd962c4bbf68e7f8eb8c003bbde9a Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 29 五月 2024 17:43:12 +0800
Subject: [PATCH] 日历不可用事件界面产线筛选

---
 _Main/BL/Type_LibCal_SubscriberEventTable/Method_InitializeDay.qbl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_LibCal_SubscriberEventTable/Method_InitializeDay.qbl b/_Main/BL/Type_LibCal_SubscriberEventTable/Method_InitializeDay.qbl
index f6cf52f..c60a7d7 100644
--- a/_Main/BL/Type_LibCal_SubscriberEventTable/Method_InitializeDay.qbl
+++ b/_Main/BL/Type_LibCal_SubscriberEventTable/Method_InitializeDay.qbl
@@ -14,14 +14,14 @@
       time := startTime.Format( 'M/D/Y' );
       column := selectobject( table, LibCal_SubscriberEventColumn, column, column.Name() = time );
       if( isnull( column ) ){
-        column := table.LibCal_SubscriberEventColumn( relnew, Name := time );
+        column := table.LibCal_SubscriberEventColumn( relnew, Name := time, Period := startTime.Date() );
       }
       
       duration := startTime.StartOfNextDay() - startTime;
       if( startTime.StartOfNextDay() > endtime ){
         duration := endtime - startTime;
       }
-      info( startTime, column.Name(), duration.AsQUILL(), duration.HoursAsReal() );
+    //  info( startTime, column.Name(), duration.AsQUILL(), duration.HoursAsReal() );
       cell := column.LibCal_SubscriberEventCell( relnew, Value := [String]duration.HoursAsReal() );
       row.LibCal_SubscriberEventCell( relinsert, cell );
     }

--
Gitblit v1.9.3