From 50fd5cc9cfad08714c4daa6d481c5293ff2ae6b1 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 31 一月 2024 18:55:28 +0800
Subject: [PATCH] 逻辑完善

---
 代码管理/WMS/WMS_Server/WIDESEA_WMS/Common/Gantry/QueryData.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/QueryData.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/Gantry/QueryData.cs"
similarity index 69%
rename from "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/QueryData.cs"
rename to "\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/Gantry/QueryData.cs"
index b214806..7a0c321 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/QueryData.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WMS/Common/Gantry/QueryData.cs"
@@ -6,7 +6,7 @@
 using WIDESEA_Core.FreeDB;
 using WIDESEA_Entity.DomainModels;
 
-namespace WIDESEA_WMS
+namespace WIDESEA_WMS.Common
 {
     public class QueryData
     {
@@ -16,9 +16,9 @@
         /// </summary>
         /// <param name="type"></param>
         /// <returns></returns>
-        public static dt_materielinfo QueryMateriel(string type)
+        public static dt_geometry_data QueryMateriel(string type)
         {
-            var materielinfo = freeDB.Select<dt_materielinfo>().Where(x => x.materiel_id == type).First();
+            var materielinfo = freeDB.Select<dt_geometry_data>().Where(x => x.TypeId.ToString() == type).First();
             return materielinfo;
         }
     }

--
Gitblit v1.9.3