From 74a4dbfebd891573e916cdb3e4ce7b0c7edf0a8e Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期二, 02 十二月 2025 17:42:00 +0800
Subject: [PATCH] 代码提交

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs"
index 6f50975..ea87b9d 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs"
@@ -124,11 +124,11 @@
             }
             else if (item.Name.Contains("materielCode"))
             {
-                materielCode = x => x.StockInfoDetails.Any(d => d.MaterielCode == item.Value);
+                materielCode = x => x.StockInfoDetails.Any(d => d.MaterielCode.Contains(item.Value));
             }
             else if (item.Name.Contains("materielName"))
             {
-                materielName = x => x.StockInfoDetails.Any(d => d.MaterielName == item.Value);
+                materielName = x => x.StockInfoDetails.Any(d => d.MaterielName.Contains(item.Value));
             }
         }
         //.IncludesAllFirstLayer()
@@ -201,7 +201,7 @@
                 }
                 locationsNew.Add(item);
             }
-            else if (item.AreaId == 2)
+            else if (item.AreaId == 2 || item.AreaId == 7)
             {
                 var locationLateral = _locationRepository.QueryData(x => x.Row == item.Row && x.Column > item.Column && x.Remark == item.Remark);
 

--
Gitblit v1.9.3