From d0cc37c3c11859cc55f30624692dca55be2b8a32 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期一, 29 十二月 2025 07:26:51 +0800
Subject: [PATCH] 变更及代码优化

---
 项目代码/WMS/WMSServices/WIDESEA_BasicService/Service/LocationInfoService_Common.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/WMSServices/WIDESEA_BasicService/Service/LocationInfoService_Common.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_BasicService/Service/LocationInfoService_Common.cs"
index fd929e3..408d4bf 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_BasicService/Service/LocationInfoService_Common.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_BasicService/Service/LocationInfoService_Common.cs"
@@ -119,7 +119,7 @@
                     else
                     {
                         bool LayerLimit = false;
-                        if (stockInfo.MaterielThickness<=700)
+                        if (stockInfo.CheckThickness <=700)
                         {
                             LayerLimit = true;
                         }
@@ -128,7 +128,7 @@
                         Dt_LocationInfo locationInfo = new Dt_LocationInfo();
                         foreach (var item in locationInfosMedium)
                         {
-                            if (item.Layer == 7 || item.Layer == 8)
+                            if (LayerLimit && (item.Layer == 7 || item.Layer == 8))
                             {
                                 locationInfo = item;
                                 break;
@@ -151,7 +151,7 @@
                 else
                 {
                     bool LayerLimit = false;
-                    if (stockInfo.MaterielThickness > 1300)
+                    if (stockInfo.CheckThickness > 1300)
                     {
                         LayerLimit = true;
                     }

--
Gitblit v1.9.3