xiaoding721
2024-09-03 2216fba3cc0585064f370ae8348bf6b90ef99e5a
_Main/BL/Type_LocalCell_DemandComparison/StaticMethod_FillRows.qbl
@@ -3,6 +3,7 @@
StaticMethod FillRows (
  const GeneralExcelImportAndExportDataTable general,
  Strings rowKeys,
  NamedValueTree rowKeyIndexTree,
  NamedValueTree rowTree,
  constcontent GeneralExcelImportAndExportDataRows rows
)
@@ -30,7 +31,14 @@
      tempHandle := rowTree.GetHandle( rowKey );
      rowTree.Root().AddChild( tempHandle ,i);
      rows.Add( tempRowKeyCell1.GeneralExcelImportAndExportDataRow());
      rowKeys.Add( rowKey );
      rowKeyHanlde := rowKeyIndexTree.GetHandle( rowKey );
      rowKeyIndex := guard( rowKeyIndexTree.Root().Child( rowKeyHanlde ),null( NamedValue ));
      if( isnull( rowKeyIndex )){
        rowKeys.Add( rowKey );
        rowKeyIndexTree.Root().AddChild( rowKeyHanlde,rowKeys.Size() - 1 );
      }
    }
  *]
}