| | |
| | | Date startDate, |
| | | Date endDate, |
| | | Real quantity, |
| | | String origin, |
| | | String curve, |
| | | const Archive archive, |
| | | ArchiveExecutionStatus archiveExecutionStatus |
| | |
| | | macroPlan := salesSegment.MacroPlan(); |
| | | ac := select( archive, ArchiveFile.astype( ArchiveCurve ), tempAC, true ); |
| | | |
| | | pathCurve := filePath + ac.Name(); |
| | | pathCurve := filePath + ac.FilePath(); |
| | | Archive::WriteTempFile( pathCurve, ac.SourceFileBinaryValue() ); |
| | | |
| | | // 请求参数 |
| | |
| | | .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(); |
| | | |