From e4724fcc72232d94e939d39a51234ce89b8c61e3 Mon Sep 17 00:00:00 2001
From: rislai <risheng.lai@capgemini.com>
Date: 星期五, 21 六月 2024 16:20:17 +0800
Subject: [PATCH] 修改GeneralExcelImportAndExportDataSource的存储位置

---
 _Main/BL/Type_ArchivePR/Method_Load.qbl |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/_Main/BL/Type_ArchivePR/Method_Load.qbl b/_Main/BL/Type_ArchivePR/Method_Load.qbl
index 551358d..e116a1e 100644
--- a/_Main/BL/Type_ArchivePR/Method_Load.qbl
+++ b/_Main/BL/Type_ArchivePR/Method_Load.qbl
@@ -1,7 +1,6 @@
 Quintiq file version 2.0
 #parent: #root
 Method Load (
-  Archive archive,
   LocalTable localTable
 ) const
 {
@@ -9,10 +8,7 @@
   [*
     // rislai Jun-20-2024 (created)
     file := OSFile::Construct();
-    //originRow := localTable.LocalRow( relnew ,Index := localTable.GetRowIndexCache());
-    //carTypeRow := localTable.LocalRow( relnew ,Index := localTable.GetRowIndexCache());
-    //productRow := localTable.LocalRow( relnew ,Index := localTable.GetRowIndexCache());
-    //fourDigitRow := localTable.LocalRow( relnew,Index := localTable.GetRowIndexCache());
+    recycleBin := localTable.RecycleBin();
     
     columns := selectset( localTable,LocalColumn,column,true );
     columnTree := NamedValueTree::Create();
@@ -26,7 +22,7 @@
       file.Open( this.FilePath(), "Read", false );
       webFileBinaryData := file.ReadBinary();
         
-      generalExcelImportAndExportDataSource := GeneralExcelImportAndExportDataSource::Upload( archive, webFileBinaryData, this.Name() );
+      generalExcelImportAndExportDataSource := GeneralExcelImportAndExportDataSource::Upload( recycleBin, webFileBinaryData, this.Name() );
       generalExcelImportAndExportDataSource.ReadStructure();
       selections := selectset( generalExcelImportAndExportDataSource, GeneralExcelImportAndExportDataTable, tempGEIAEDT, true );
       if( selections.Size() <> 0 ){

--
Gitblit v1.9.3