From e471f5ce529d0851b9823d7a26128531ac79cda7 Mon Sep 17 00:00:00 2001 From: wanghaomei Date: Mon, 17 Apr 2023 09:55:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8F=96=E5=9C=BA=E7=AB=99=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=EF=BC=8C=E5=89=8D=E7=AB=AF=E8=BD=AC=E5=A4=A7=E5=86=99?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E4=BB=A3=E7=A0=81=E4=B8=8D=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Myshipping.Application/Helper/YardDataHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Myshipping.Application/Helper/YardDataHelper.cs b/Myshipping.Application/Helper/YardDataHelper.cs index 6b098fda..b4cb5b49 100644 --- a/Myshipping.Application/Helper/YardDataHelper.cs +++ b/Myshipping.Application/Helper/YardDataHelper.cs @@ -48,7 +48,7 @@ namespace Myshipping.Application.Helper } var yardMappings = await cacheService.GetAllMappingYard(); - var ym = yardMappings.FirstOrDefault(x => x.Code == yardid && x.Module == "BillTrace"); + var ym = yardMappings.FirstOrDefault(x => x.Code.ToLower() == yardid.ToLower() && x.Module == "BillTrace"); if (ym == null) { return new KeyValuePair(false, $"场站代号配置未找到:{yardid}");