From 163223131e6c7f372588d48f3b18c94f15901b96 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <1247017146@qq.com> Date: 星期六, 10 五月 2025 11:06:21 +0800 Subject: [PATCH] 1 --- CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs index 0ee302f..c19ff24 100644 --- a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs +++ b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs @@ -1650,6 +1650,28 @@ #endregion + #region 鏌ヨ闈欑疆绌洪棽搴撲綅 + public WebResponseContent QueryLocationFreeJZ(string RoadwayNo) + { + WebResponseContent content = new WebResponseContent(); + try + { + var result = _locationRepository.QueryData(x => x.EnalbeStatus != (int)EnableEnum.Disable && x.LocationStatus == (int)LocationEnum.Free && x.RoadwayNo.Contains("JZSC")); + LogFactory.GetLog($"闈欑疆{RoadwayNo}鏌ヨ绌洪棽搴撲綅").Info(true, $"{JsonConvert.SerializeObject(result)}"); + if (result.Count > 0) + { + return content.OK(); + } + return content.Error("搴撲綅宸叉弧"); + } + catch (Exception ex) + { + return content.Error(ex.Message); + } + } + + #endregion + #region 澶у睆鎺ュ彛 /// <summary> -- Gitblit v1.9.3