From c7bf0a0a8d0177b8f7720cd8120295a581e238a6 Mon Sep 17 00:00:00 2001 From: pulg <plg@Haninfo> Date: 星期四, 03 七月 2025 18:15:09 +0800 Subject: [PATCH] 1 --- HH.WCS.QingXiNongfu/wms/LocationHelper.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HH.WCS.QingXiNongfu/wms/LocationHelper.cs b/HH.WCS.QingXiNongfu/wms/LocationHelper.cs index bd066fb..f6881c0 100644 --- a/HH.WCS.QingXiNongfu/wms/LocationHelper.cs +++ b/HH.WCS.QingXiNongfu/wms/LocationHelper.cs @@ -177,6 +177,13 @@ } return locs; } + + public static List<Location> GetAreaNormalLocListAll(string areeacode) + { + var locs = LocationHelper.GetLocList(x => x.S_AREA_CODE == areeacode && x.S_LOCK_STATE.Trim() == "鏃� && x.N_CURRENT_NUM == 0); + + return locs; + } internal static List<Location> GetAllLocListByAreaCode(string _areacode, int minRow, int maxRow) { var db = new SqlHelper<object>().GetInstance(); @@ -790,7 +797,7 @@ LogHelper.Info($"{plc.deviceName}-{workOrder.SQL_WorkNo}閾炬帴鐨勪骇绾垮彿{LineTo} BolArea 鏈厤缃�"); goto ______label____end; } - bitslocs = LocationHelper.GetAreaNormalLocList(ba.UsingBolArea, true, false); + bitslocs = LocationHelper.GetAreaNormalLocList(ba.UsingBolArea); //var bits = Settings.GetInStockCacheList().Where(a => a.deviceName == _t)?.Select(x => x.location); //bitslocs = LocationHelper.GetAllLocList().Where(x => bits.Contains(x.S_LOC_CODE.Trim())).ToList(); -- Gitblit v1.9.1