From 632ff10e336fe9d482ccce1f3e71042bd4ddba8e Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 28 Nov 2022 15:59:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=96=E5=80=BC=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/RulesEngine/RulesEngineClientService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/RulesEngine/RulesEngineClientService.cs b/Myshipping.Application/Service/RulesEngine/RulesEngineClientService.cs index 46dcaacc..8da78ac8 100644 --- a/Myshipping.Application/Service/RulesEngine/RulesEngineClientService.cs +++ b/Myshipping.Application/Service/RulesEngine/RulesEngineClientService.cs @@ -265,7 +265,7 @@ namespace Myshipping.Application var lineModel = _cache.GetAllCodeLane().GetAwaiter().GetResult().FirstOrDefault(t => t.Code.Equals(laneInfo.LaneCode, StringComparison.OrdinalIgnoreCase)); msgModel.Main.BusinessInfo.LaneCode = laneInfo.LaneCode; - msgModel.Main.BusinessInfo.LaneName = lineModel.CnName; + msgModel.Main.BusinessInfo.LaneName = lineModel?.CnName; } }