From 95e39ae7aecd6e1016c71cf5ae70a680d8f569bb Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 29 四月 2025 10:48:30 +0800
Subject: [PATCH] 上传最新代码

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/ProStockInfoRepository.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/ProStockInfoRepository.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/ProStockInfoRepository.cs"
index 81470c6..2675255 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/ProStockInfoRepository.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_StockRepository/ProStockInfoRepository.cs"
@@ -55,7 +55,7 @@
                 .Where(x => x.proStockInfoDetails
                 .Any(v =>
                     v.ProductCode == proOutOrderDetail.PCode
-                    && v.ProductVersion == proOutOrderDetail.PVer
+                    && v.ProductVersion.StartsWith(proOutOrderDetail.PVer.Substring(0,1)) 
                     && (isCanLot ? isCanLot : v.BagNo == proOutOrderDetail.PLot)
                     && (isCanDate ? isCanDate : v.DateCode == proOutOrderDetail.DateCode)
                 ))

--
Gitblit v1.9.3