From 75e3bca44b111c167b9389e4e51b2ce577a9f9e0 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期日, 10 八月 2025 10:35:50 +0800
Subject: [PATCH] 优化更新

---
 WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/StockInfoRepository.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/StockInfoRepository.cs b/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/StockInfoRepository.cs
index 714c82e..e22363d 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/StockInfoRepository.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/StockInfoRepository.cs
@@ -112,7 +112,7 @@
         }
         public List<Dt_StockInfo> GetStockInfosByPalletCode(List<string> palletCodes)
         {
-            return Db.Queryable<Dt_StockInfo>().Where(x => palletCodes.Contains(x.BatchNo)).Includes(x => x.Details).ToList();
+            return Db.Queryable<Dt_StockInfo>().Where(x => palletCodes.Contains(x.PalletCode)).Includes(x => x.Details).ToList();
         }
         public List<Dt_StockInfo> GetStockInfosExclude(string materielCode, List<string> palletCodes)
         {

--
Gitblit v1.9.3