| | |
| | | TextBody: |
| | | [* |
| | | // Akari Sep-11-2024 (created) |
| | | // 请求参数 |
| | | filePath := archive.FileArchivePath() + "\" + "temp" + "\"; |
| | | OS::CreateDirectory( filePath ); |
| | | |
| | | macroPlan := salesSegment.MacroPlan(); |
| | | ac := select( archive, ArchiveCurve, tempAC, true ); |
| | | |
| | | pathCurve := filePath + ac.Name(); |
| | | Archive::WriteTempFile( pathCurve, ac.SourceFileBinaryValue() ); |
| | | |
| | | // 请求参数 |
| | | json := JSON::Object() |
| | | .Add( "salesSegment", salesSegment.Name() ) |
| | | .Add( "productID", product.ID() ) |
| | |
| | | .Add( "endDate", endDate.Format( "Y-M2-D2") ) |
| | | .Add( "quantity", quantity ) |
| | | .Add( "curve", curve ) |
| | | .Add( "pathCurve", ac.FilePath() ).Build().AsString(); |
| | | .Add( "pathCurve", pathCurve ).Build().AsString(); |
| | | |
| | | // 调用接口 |
| | | url := "/IDSPPACurve/ImportCurveIncremental"; |