diff --git a/Myshipping.Application/Entity/BookingEDIExt.cs b/Myshipping.Application/Entity/BookingEDIExt.cs index 1a681b9d..d440402d 100644 --- a/Myshipping.Application/Entity/BookingEDIExt.cs +++ b/Myshipping.Application/Entity/BookingEDIExt.cs @@ -195,5 +195,11 @@ namespace Myshipping.Application.Entity /// [Description("辅助字段4")] public string ExRemark4 { get; set; } + + /// + /// 第一层包装皮重 + /// + [Description("第一层包装皮重")] + public decimal? KingTareweight { get; set; } } } diff --git a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs index a66032f1..df550ce4 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingOrderService.cs @@ -3107,6 +3107,9 @@ namespace Myshipping.Application primaryModel.cNCM = ediExtModel.CNCM; primaryModel.wNCM = ediExtModel.WNCM; primaryModel.ORDERREMARK = ediExtModel.OrderRemark; + + primaryModel.KINGTAREWEIGHT = ediExtModel.KingTareweight.HasValue ? ediExtModel.KingTareweight.Value : 0; + //箱信息 var contaList = _repCtn.AsQueryable().Where(t => t.BILLID == order.Id).ToList(); diff --git a/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIExtDto.cs b/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIExtDto.cs index 45265da0..d3053342 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIExtDto.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIExtDto.cs @@ -161,5 +161,10 @@ namespace Myshipping.Application /// 辅助字段4 /// public string ExRemark4 { get; set; } + + /// + /// 第一层包装皮重 + /// + public decimal? KingTareweight { get; set; } } } diff --git a/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIMapper.cs b/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIMapper.cs index 14e44484..85c34898 100644 --- a/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIMapper.cs +++ b/Myshipping.Application/Service/BookingOrder/Dto/BookingEDIMapper.cs @@ -62,8 +62,9 @@ namespace Myshipping.Application .Map(dest => dest.SHIPPERDOORADDR, src => src.SHIPPERDOORADDR) .Map(dest => dest.SCACCODE, src => src.SCACCODE) .Map(dest => dest.ISCONTAINERSOC, src => src.ISCONTAINERSOC) - .Map(dest => dest.FREIGHTPAYER, src => src.FREIGHTPAYER); - + .Map(dest => dest.FREIGHTPAYER, src => src.FREIGHTPAYER) + .Map(dest => dest.PLACEDELIVERYID, src => src.PLACEDELIVERYID) + .Map(dest => dest.PLACEDELIVERY, src => src.PLACEDELIVERY); config.ForType() .Map(dest => dest.CTNNUM, src => src.CTNNUM.HasValue? src.CTNNUM.Value:0)