From 0aed9c9ee65bd8a17837d83ec05e756d11fab297 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 21 四月 2026 15:29:48 +0800
Subject: [PATCH] Merge branch 'dev' of http://115.159.85.185:8098/r/SuZhouGuanHong/ShanMeiXinNengYuan into dev

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
index a69f8d1..59e0f51 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
@@ -380,6 +380,7 @@
                 _unitOfWorkManage.RollbackTran();
                 return WebResponseContent.Instance.Error($"鍒犻櫎搴撳瓨鍜屾槑缁嗘椂鍙戠敓寮傚父: {ex.Message}");
             }
+        }
         /// <summary>
         /// 鏇存柊MES涓婁紶鐘舵��
         /// </summary>
@@ -390,7 +391,7 @@
         {
             try
             {
-                var stockInfo = await BaseDal.QueryDataFirstAsync(x => x.PalletCode == palletCode);
+                var stockInfo = await BaseDal.QueryFirstAsync(x => x.PalletCode == palletCode);
                 if (stockInfo == null)
                     return false;
 

--
Gitblit v1.9.3