HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/wms/LocationHelper.cs
@@ -332,7 +332,7 @@ Dictionary<int, string> dics = new Dictionary<int, string>(); foreach (var deviceInfo in devices) { int mst = db.Queryable<WCSTask>().Where(a => a.S_TYPE.Contains("电梯") && state.Contains(a.S_B_STATE)).Count(); int mst = db.Queryable<WCSTask>().Where(a => a.S_TYPE.Contains("电梯") && state.Contains(a.S_B_STATE)&&a.S_END_LOC==deviceInfo.TN_Location).Count(); dics.Add(mst, deviceInfo.TN_Location); } if (dics.Count > 0)