修改任务台账

optimize
jianghaiqing 2 years ago
parent 45dc428408
commit 7b2e076dd8

@ -182,7 +182,6 @@ namespace Myshipping.Application
}; };
//开始请求BC //开始请求BC
var rlt = await ExcuteBCDownload(bcUrl, requestDto, batchNo); var rlt = await ExcuteBCDownload(bcUrl, requestDto, batchNo);
if (rlt.code == 200) if (rlt.code == 200)
@ -252,7 +251,7 @@ namespace Myshipping.Application
} }
[NonAction] [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> /// </summary>
/// <param name="bookingIds">订舱主键数组</param> /// <param name="bookingIds">订舱主键数组</param>
/// <returns></returns> /// <returns></returns>
public async Task<TaskManageOrderResultDto> DownloadDraft(long[] bookingIds) [HttpPost("/BookingValueAdded/DownloadDraft")]
public async Task<TaskManageOrderResultDto> DownloadDraft([FromBody]long[] bookingIds)
{ {
TaskManageOrderResultDto result = new TaskManageOrderResultDto(); TaskManageOrderResultDto result = new TaskManageOrderResultDto();

@ -111,7 +111,8 @@ namespace Myshipping.Application
.Map(dest => dest.TaskReqUserId, src => src.TASK_REQ_USERID) .Map(dest => dest.TaskReqUserId, src => src.TASK_REQ_USERID)
.Map(dest => dest.TaskReqUserName, src => src.TASK_REQ_USERNAME) .Map(dest => dest.TaskReqUserName, src => src.TASK_REQ_USERNAME)
.Map(dest => dest.YardName, src => src.YARD_NAME) .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<TaskBaseInfoDto, TaskBaseInfo>() config.ForType<TaskBaseInfoDto, TaskBaseInfo>()
.Map(dest => dest.PK_ID, src => src.PKId) .Map(dest => dest.PK_ID, src => src.PKId)

Loading…
Cancel
Save