From 73ab39e754f865e5bac18a54ee0c53db9259a208 Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Sun, 23 Apr 2023 18:17:26 +0800 Subject: [PATCH] 1 --- .../Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs b/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs index b29108ff..6f80febc 100644 --- a/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs +++ b/Myshipping.Application/Service/BookingOrderSeaeEdi/BookingOrderSeaeEdiService.cs @@ -249,7 +249,7 @@ namespace Myshipping.Application mDATA = order.Adapt(); var FORWARDER = mDATA.FORWARDER; mDATA.FORWARDER = _cache.GetAllMappingForwarder().Result.Where(x => x.Code == FORWARDER && x.Module == "cangdan").Select(x => x.MapCode).FirstOrDefault() == null ? - _cache.GetAllCodeForwarder().Result.Where(x => x.Code == FORWARDER).Select(x => x.Name).FirstOrDefault() : + _cache.GetAllCodeForwarder().Result.Where(x => x.Name == FORWARDER).Select(x => x.Name).FirstOrDefault() : _cache.GetAllMappingForwarder().Result.Where(x => x.Code == FORWARDER && x.Module == "cangdan").Select(x => x.MapCode).FirstOrDefault(); CTNDATA = ctns.Adapt>(); custEDIDtos.Add(