From 7a55464720fcef69fc4362dcb570dff763ff026b Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期四, 07 十一月 2024 17:00:05 +0800 Subject: [PATCH] 下线计划不显示bug --- _Main/BL/Type_AssemblyOnlinePlanVersion/StaticMethod_RefreshData.qbl | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_AssemblyOnlinePlanVersion/StaticMethod_RefreshData.qbl b/_Main/BL/Type_AssemblyOnlinePlanVersion/StaticMethod_RefreshData.qbl index 9d13f21..c4eac3f 100644 --- a/_Main/BL/Type_AssemblyOnlinePlanVersion/StaticMethod_RefreshData.qbl +++ b/_Main/BL/Type_AssemblyOnlinePlanVersion/StaticMethod_RefreshData.qbl @@ -21,7 +21,9 @@ showtable := interface.AssemblyOnlinePlanVersion( relnew, ID := name, Name := name, IsShow := true ); } aopcolumns := selectuniquevalues( macroPlan, NewAssemblyOnlinePlanColumn, aopcolumn, not exists( table, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() and column.StartDate() = aopcolumn.StartDate() ), aopcolumn.StartDate() ); - table.GenerateColumn( aopcolumns, false ); + if( aopcolumns.Size() > 0 ){ + table.GenerateColumn( aopcolumns, false ); + } traverse( macroPlan, NewAssemblyOnlinePlanRow, aoprow, aoprow.Type() = '1' ){ row := table.GetRow( aoprow ); traverse( aoprow, NewAssemblyOnlinePlanCell, aopcell ){ -- Gitblit v1.9.3