From 7b2e076dd85eac40b6983790878d2a2e18f7fe16 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Tue, 16 May 2023 14:05:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingOrder/BookingValueAddedService.cs | 6 +++--- .../Service/TaskManagePlat/Dtos/TaskManageMapper.cs | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs b/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs index 796107d7..5e91bae7 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs @@ -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 /// /// 订舱主键数组 /// - public async Task DownloadDraft(long[] bookingIds) + [HttpPost("/BookingValueAdded/DownloadDraft")] + public async Task DownloadDraft([FromBody]long[] bookingIds) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); diff --git a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs index 0157b2af..2ddc89d3 100644 --- a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs +++ b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs @@ -111,7 +111,8 @@ namespace Myshipping.Application .Map(dest => dest.TaskReqUserId, src => src.TASK_REQ_USERID) .Map(dest => dest.TaskReqUserName, src => src.TASK_REQ_USERNAME) .Map(dest => dest.YardName, src => src.YARD_NAME) - .Map(dest => dest.VesselVoyno, src => src.VESSEL_VOYNO); + .Map(dest => dest.VesselVoyno, src => src.VESSEL_VOYNO) + .Map(dest => dest.ContaInfo, src => src.CONTA_INFO); config.ForType() .Map(dest => dest.PK_ID, src => src.PKId)