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)