From eb4678cae8923bd6dedb863520129bfa253b5469 Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Sun, 23 Apr 2023 17:47:07 +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 a11220a2..113347b4 100644 --- a/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs +++ b/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs @@ -109,7 +109,7 @@ namespace Myshipping.Application entity.State = "已录入"; if (input.Id == 0) { - + entity.CARRIER = _cache.GetAllCodeCarrier().Result.Where(x => x.Code == entity.CARRIERID).Select(x => x.EdiCode).FirstOrDefault(); await _seaeedi.InsertAsync(entity); if (input.EdiCtn != null) { @@ -129,7 +129,7 @@ namespace Myshipping.Application } else { - + entity.CARRIER = _cache.GetAllCodeCarrier().Result.Where(x => x.Code == entity.CARRIERID).Select(x => x.EdiCode).FirstOrDefault(); await _seaeedi.AsUpdateable(entity).IgnoreColumns(it => new { it.MBLNO,