lazhen
2024-12-26 015a45fc5e4c88967179da0197cffad590ba20ab
_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();