From 5b9da592f9bc117c88244f469418d5a5b29e4266 Mon Sep 17 00:00:00 2001
From: 海波 张 <2956280567@qq.com>
Date: 星期三, 16 七月 2025 17:31:52 +0800
Subject: [PATCH] mes取消修改

---
 wms/LocationHelper.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/wms/LocationHelper.cs b/wms/LocationHelper.cs
index cd09b3f..900b06a 100644
--- a/wms/LocationHelper.cs
+++ b/wms/LocationHelper.cs
@@ -151,6 +151,17 @@
         }
 
         /// <summary>
+        /// 杩斿洖鍑哄簱agv浠诲姟
+        /// </summary>
+        internal static WMSTask GetConnectionTask(string jbLoc,string type)
+        {
+            var db = new SqlHelper<object>().GetInstance();
+            
+          return db.Queryable<WMSTask>().Where(a => ( a.S_START_LOC.Contains(jbLoc)&& a.S_SCHEDULE_TYPE.Contains(type)  && a.S_B_STATE != "瀹屾垚" && a.S_B_STATE != "鍙栨秷" && a.S_B_STATE != "澶辫触" && a.S_B_STATE != "宸插畬鎴� && a.S_B_STATE != "鏈墽琛�)).OrderBy(b=>b.T_CREATE).First();
+        
+        }
+
+        /// <summary>
         /// 杩斿洖鎺ラ┏浣嶉泦鍚�         /// </summary>
         internal static List<Location> GetConnectionListByst(List<string> locList)
@@ -1247,6 +1258,9 @@
 
                 var balanceConnectionList = LocationHelper.GetConnectionListByst(connectionList);
 
+
+                
+
                 
 
                 LogHelper.Info($"ZCSendTask鍑哄簱浠诲姟鎺掗櫎涓嶅彲鐢ㄥ贩閬撳紑濮�, "Mes浠诲姟涓嬪彂");

--
Gitblit v1.9.1