From d0ce0f549cd0d63cac13c6dc14411c79d7dae113 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期二, 24 十二月 2024 17:38:42 +0800
Subject: [PATCH] 添加注释,修复一些bug

---
 _Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl b/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl
index b4c0858..f4cabca 100644
--- a/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl
+++ b/_Main/BL/Type_Forecast/StaticMethod_SplitUsingCurve.qbl
@@ -7,6 +7,7 @@
   Date startDate,
   Date endDate,
   Real quantity,
+  String origin,
   String curve,
   const Archive archive,
   ArchiveExecutionStatus archiveExecutionStatus
@@ -21,7 +22,7 @@
     macroPlan := salesSegment.MacroPlan();
     ac := select( archive, ArchiveFile.astype( ArchiveCurve ), tempAC, true );
     
-    pathCurve     := filePath + ac.Name();
+    pathCurve     := filePath + ac.FilePath();
     Archive::WriteTempFile( pathCurve, ac.SourceFileBinaryValue() );
     
     // 璇锋眰鍙傛暟
@@ -32,6 +33,7 @@
                      .Add( "startDate", startDate.Format( "Y-M2-D2") )
                      .Add( "endDate", endDate.Format( "Y-M2-D2") )
                      .Add( "quantity", quantity )
+                     .Add( "origin", origin )
                      .Add( "curve", curve )
                      .Add( "pathCurve", pathCurve ).Build().AsString();
     

--
Gitblit v1.9.3