From b0fcdca488f07cc3c69ad2266cab5815c0ee4526 Mon Sep 17 00:00:00 2001
From: rislai <risheng.lai@capgemini.com>
Date: 星期五, 28 六月 2024 23:28:41 +0800
Subject: [PATCH] 添加需求对比过滤器

---
 _Main/BL/Type_Test/StaticMethod_Test.qbl |   23 +++--------------------
 1 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/_Main/BL/Type_Test/StaticMethod_Test.qbl b/_Main/BL/Type_Test/StaticMethod_Test.qbl
index 9d0c69d..cc86dfc 100644
--- a/_Main/BL/Type_Test/StaticMethod_Test.qbl
+++ b/_Main/BL/Type_Test/StaticMethod_Test.qbl
@@ -9,25 +9,8 @@
 {
   TextBody:
   [*
-    // rislai Jun-9-2024 (created)
-    archive.ArchivePR( relnew,Name := "PR72.SP_20240604_VWED.xlsx",FilePath := "C:\Excel\PR72.SP_20240604_VWED.xlsx");
-    
-    archive.ArchivePR( relnew,Name := "PR72.SP_20240605_VWED.xlsx",FilePath := "C:\Excel\PR72.SP_20240605_VWED.xlsx");
-    
-    
-    //testTree := NamedValueTree::Create();
-    //
-    //testTreeHandel := testTree.GetHandle( "test1" );
-    //testTreeHandel2 := testTree.GetHandle( "test2" );
-    //
-    //testTree.Root().AddChild( testTreeHandel,1 );
-    //
-    //info( testTree.Root().Child( testTreeHandel ).GetValueAsNumber() );
-    //try{
-    //  info( testTree.Root().Child( testTreeHandel2 ).GetValueAsNumber() ); 
-    //}onerror{
-    //  testTree.Root().AddChild( testTreeHandel,2 );
-    //}
-    //info( testTree.Root().Child( testTreeHandel ).GetValueAsNumber() );
+    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() ));
   *]
 }

--
Gitblit v1.9.3