diff --git a/Myshipping.Application/Entity/TaskManagePlat/TaskTransPlanHasChangeInfo.cs b/Myshipping.Application/Entity/TaskManagePlat/TaskTransPlanHasChangeInfo.cs index ac950a9d..4d602349 100644 --- a/Myshipping.Application/Entity/TaskManagePlat/TaskTransPlanHasChangeInfo.cs +++ b/Myshipping.Application/Entity/TaskManagePlat/TaskTransPlanHasChangeInfo.cs @@ -136,5 +136,15 @@ namespace Myshipping.Application /// 最后转发客户邮件状态名称 /// public string LST_STATUS_NAME { get; set; } + + /// + /// 列表批次号 + /// + public string GROUP_BATCH_NO { get; set; } + + /// + /// 是否列表最后项 1-是最后项 0-不是最后项 + /// + public bool IS_LAST { get; set; } } } diff --git a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs index a97cab0a..e3cc1437 100644 --- a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs +++ b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageMapper.cs @@ -1182,8 +1182,8 @@ namespace Myshipping.Application .Map(dest => dest.CY_CUT_DATE, src => src.CYCutDate) .Map(dest => dest.ROUTE_CODE, src => src.RouteCode) .Map(dest => dest.EMAIL_SUBJECT, src => src.MailSubject); - - + + config.ForType() .Map(dest => dest.BOOKING_NO, src => src.BookingNo) .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.SHIP_FLAG, src => src.ShipFlag) .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); + - } } } diff --git a/Myshipping.Application/Service/TaskManagePlat/Dtos/TransPlanHasChange/TaskManageOrderTransportPlanHasChangeInfo.cs b/Myshipping.Application/Service/TaskManagePlat/Dtos/TransPlanHasChange/TaskManageOrderTransportPlanHasChangeInfo.cs index 76a02c41..62ab8f27 100644 --- a/Myshipping.Application/Service/TaskManagePlat/Dtos/TransPlanHasChange/TaskManageOrderTransportPlanHasChangeInfo.cs +++ b/Myshipping.Application/Service/TaskManagePlat/Dtos/TransPlanHasChange/TaskManageOrderTransportPlanHasChangeInfo.cs @@ -96,6 +96,15 @@ namespace Myshipping.Application /// public string ShipFlag { get; set; } + /// + /// 列表批次号 + /// + public string GroupBatchNo { get; set; } + + /// + /// 是否列表最后一项 + /// + public bool IsLast { get; set; } /// /// 出运计划 diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs index 8f300edf..20eec086 100644 --- a/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/TaskTransPlanHasChangeService.cs @@ -233,7 +233,21 @@ namespace Myshipping.Application [HttpGet("/TaskTransPlanHasChange/AutoTransferNotice")] public async Task 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