From afa8bf587d5e1a84cbd948911f3c86053dd6193a Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Sun, 23 Apr 2023 13:50:01 +0800 Subject: [PATCH] 1 --- .../Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);