From 27e00e4c0d354727728ac4b8770b1575b5077399 Mon Sep 17 00:00:00 2001 From: 海波 张 <2956280567@qq.com> Date: 星期一, 14 七月 2025 17:30:59 +0800 Subject: [PATCH] 出库修改 --- wms/LocationHelper.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/wms/LocationHelper.cs b/wms/LocationHelper.cs index cd09b3f..13918ef 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) -- Gitblit v1.9.1