From 9f27cbd178b7f60975d388fa4c8a94f8b8e38117 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期六, 25 四月 2026 16:18:08 +0800
Subject: [PATCH] feat: 更新分容库出库地址并添加巷道号常量

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

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
index 8a808ae..10f0047 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs
@@ -197,7 +197,7 @@
         /// <returns>搴撳瓨淇℃伅</returns>
         public async Task<Dt_StockInfo> GetStockInfoAsync(string palletCode, string locationCode)
         {
-            return await BaseDal.QueryFirstAsync(x => x.PalletCode == palletCode && x.LocationCode == locationCode);
+            return await BaseDal.QueryDataNavFirstAsync(x => x.PalletCode == palletCode && x.LocationCode == locationCode);
         }
 
         /// <summary>
@@ -391,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