修改货物运输计划已变更任务

master
jianghaiqing 6 months ago
parent 3408692398
commit 3fe44d2873

@ -136,5 +136,15 @@ namespace Myshipping.Application
/// 最后转发客户邮件状态名称 /// 最后转发客户邮件状态名称
/// </summary> /// </summary>
public string LST_STATUS_NAME { get; set; } public string LST_STATUS_NAME { get; set; }
/// <summary>
/// 列表批次号
/// </summary>
public string GROUP_BATCH_NO { get; set; }
/// <summary>
/// 是否列表最后项 1-是最后项 0-不是最后项
/// </summary>
public bool IS_LAST { get; set; }
} }
} }

@ -1182,8 +1182,8 @@ namespace Myshipping.Application
.Map(dest => dest.CY_CUT_DATE, src => src.CYCutDate) .Map(dest => dest.CY_CUT_DATE, src => src.CYCutDate)
.Map(dest => dest.ROUTE_CODE, src => src.RouteCode) .Map(dest => dest.ROUTE_CODE, src => src.RouteCode)
.Map(dest => dest.EMAIL_SUBJECT, src => src.MailSubject); .Map(dest => dest.EMAIL_SUBJECT, src => src.MailSubject);
config.ForType<TaskManageOrderTransportPlanHasChangeInfo, TaskTransPlanHasChangeInfo>() config.ForType<TaskManageOrderTransportPlanHasChangeInfo, TaskTransPlanHasChangeInfo>()
.Map(dest => dest.BOOKING_NO, src => src.BookingNo) .Map(dest => dest.BOOKING_NO, src => src.BookingNo)
.Map(dest => dest.MBL_NO, src => src.BillNo) .Map(dest => dest.MBL_NO, src => src.BillNo)
@ -1200,9 +1200,11 @@ namespace Myshipping.Application
.Map(dest => dest.VOYNO, src => src.Voyno) .Map(dest => dest.VOYNO, src => src.Voyno)
.Map(dest => dest.SHIP_FLAG, src => src.ShipFlag) .Map(dest => dest.SHIP_FLAG, src => src.ShipFlag)
.Map(dest => dest.ETD, src => src.ETD) .Map(dest => dest.ETD, src => src.ETD)
.Map(dest => dest.ETA, src => src.ETA); .Map(dest => dest.ETA, src => src.ETA)
.Map(dest => dest.GROUP_BATCH_NO, src => src.GroupBatchNo)
.Map(dest => dest.IS_LAST, src => src.IsLast);
} }
} }
} }

@ -96,6 +96,15 @@ namespace Myshipping.Application
/// </summary> /// </summary>
public string ShipFlag { get; set; } public string ShipFlag { get; set; }
/// <summary>
/// 列表批次号
/// </summary>
public string GroupBatchNo { get; set; }
/// <summary>
/// 是否列表最后一项
/// </summary>
public bool IsLast { get; set; }
/// <summary> /// <summary>
/// 出运计划 /// 出运计划

@ -233,7 +233,21 @@ namespace Myshipping.Application
[HttpGet("/TaskTransPlanHasChange/AutoTransferNotice")] [HttpGet("/TaskTransPlanHasChange/AutoTransferNotice")]
public async Task<TaskManageOrderResultDto> AutoTransferNotice(string taskPKId) public async Task<TaskManageOrderResultDto> AutoTransferNotice(string taskPKId)
{ {
return null; TaskManageOrderResultDto result = new TaskManageOrderResultDto();
try
{
}
catch(Exception ex)
{
result.succ = false;
result.msg = $"自动转发货物运输计划已变更失败,原因:{ex.Message}";
_logger.LogInformation($"taskPKId={taskPKId} 自动转发货物运输计划已变更失败,原因:{ex.Message}");
}
return result;
} }
#endregion #endregion

Loading…
Cancel
Save