From 9ee4859010d71856ff97a3fb87f2aae1b6ae48f1 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 04 九月 2024 16:15:56 +0800
Subject: [PATCH] 修复需求对比的一些bug

---
 _Main/BL/Type_Test/StaticMethod_Test.qbl |   36 ++++++++++++++----------------------
 1 files changed, 14 insertions(+), 22 deletions(-)

diff --git a/_Main/BL/Type_Test/StaticMethod_Test.qbl b/_Main/BL/Type_Test/StaticMethod_Test.qbl
index 3b45a67..a1d7e18 100644
--- a/_Main/BL/Type_Test/StaticMethod_Test.qbl
+++ b/_Main/BL/Type_Test/StaticMethod_Test.qbl
@@ -10,29 +10,21 @@
 {
   TextBody:
   [*
-    //name := "2020/04/01";
-    //names := name.Tokenize( "/" );
-    //  info( guard( Date::Construct( [Number]names.Element( 0 ),[Number]names.Element( 1 ),[Number]names.Element( 2 )),Date::MinDate() ));
+    archive.ArchivePP( relflush );
+    archive.ArchiveBudget( relflush );
     
-    //traverse( archive,ScheduleSummaryOutputLine,line ){
-    //  info( line.LineName() );
-    //  traverse( line,ScheduleSummaryOutputData,data ){
-    //    info( data.Date().Format( "Y-M2-D2 ") + " ->" + [String]data.Output() );
-    //  } 
-    //}
+    archive.ArchivePP( relnew,Name := "2025 M" )
+    archive.ArchivePP( relnew,Name := "2025 W" )
+    archive.ArchivePP( relnew,Name := "2026 M" )
+    archive.ArchivePP( relnew,Name := "2026 W" )
+    archive.ArchivePP( relnew,Name := "2027 M" )
+    archive.ArchivePP( relnew,Name := "2027 W" )
     
-    //table := select( macroPlan,MP_Table,table,table.Name() = MP_Cell_ScheduleSummary::GetTableName() );
-    //if( not isnull( table )){
-    //  table.Delete(); 
-    //}
-    
-    
-    
-    archiveExecutionStatus.RequirementImportExecutionStatus( relnew, 
-                                                             ExecutionCode        := 500,
-                                                             ExecutionIsSuccess   := false,
-                                                             ExecutionRespMessage := "11111",
-                                                             ExecutionStatus      := "Complete",
-                                                             ExecutionUserName    := "vwedadmin" );
+    archive.ArchiveBudget( relnew,Name := "2025 M" )
+    archive.ArchiveBudget( relnew,Name := "2025 W" )
+    archive.ArchiveBudget( relnew,Name := "2026 M" )
+    archive.ArchiveBudget( relnew,Name := "2026 W" )
+    archive.ArchiveBudget( relnew,Name := "2027 M" )
+    archive.ArchiveBudget( relnew,Name := "2027 W" )
   *]
 }

--
Gitblit v1.9.3