diff --git a/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs b/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs index 466ea924..f90c55f0 100644 --- a/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs +++ b/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs @@ -119,7 +119,7 @@ namespace Myshipping.Application ctn.PId = entity.Id; if (ctn.CTNALL.Length==4) { ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(0, 2) : ""; - ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : ""; + ctn.CTN = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : ""; } await _seaeedictn.InsertAsync(ctn); @@ -151,7 +151,7 @@ namespace Myshipping.Application if (ctn.CTNALL.Length == 4) { ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(0, 2) : ""; - ctn.SIZE = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : ""; + ctn.CTN = ctn.CTNALL != null ? ctn.CTNALL.Substring(2, 2) : ""; } await _seaeedictn.InsertAsync(ctn);