|
|
|
@ -182,7 +182,6 @@ namespace Myshipping.Application
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
//开始请求BC
|
|
|
|
|
|
|
|
|
|
var rlt = await ExcuteBCDownload(bcUrl, requestDto, batchNo);
|
|
|
|
|
|
|
|
|
|
if (rlt.code == 200)
|
|
|
|
@ -252,7 +251,7 @@ namespace Myshipping.Application
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[NonAction]
|
|
|
|
|
private async Task SaveEDIFile(long boookId, string FilePath, string fileName, string fileTypeCode = "edi", string fileTypeName = "EDI文件")
|
|
|
|
|
private async Task SaveEDIFile(long boookId, string FilePath, string fileName, string fileTypeCode = "bc", string fileTypeName = "Booking Confirmation")
|
|
|
|
|
{
|
|
|
|
|
/*
|
|
|
|
|
直接将附件信息写入附件表
|
|
|
|
@ -276,7 +275,8 @@ namespace Myshipping.Application
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bookingIds">订舱主键数组</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public async Task<TaskManageOrderResultDto> DownloadDraft(long[] bookingIds)
|
|
|
|
|
[HttpPost("/BookingValueAdded/DownloadDraft")]
|
|
|
|
|
public async Task<TaskManageOrderResultDto> DownloadDraft([FromBody]long[] bookingIds)
|
|
|
|
|
{
|
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
|
|
|
|
|
|