From 8815f180964a3f51944e42631b44127250718cc5 Mon Sep 17 00:00:00 2001 From: 刘磊 <1161824510@qq.com> Date: 星期日, 06 七月 2025 13:36:07 +0800 Subject: [PATCH] 请求入库下一地址优化 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs index 19282f0..f8c87c9 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs @@ -1637,6 +1637,20 @@ return content.Error(ex.Message); } } + public WebResponseContent GetLocationStatus() + { + WebResponseContent content = new WebResponseContent(); + try + { + List<DtLocationInfo> LocationList = _locationRepository.Db.Queryable<DtLocationInfo>().Where(x => x.LocationStatus != 2 && x.LocationStatus != 0).ToList(); + return content.OK1(total1: LocationList.Count, data: LocationList); + } + catch (Exception ex) + { + return content.Error(ex.Message); + } + + } } internal class TaskHourData -- Gitblit v1.9.3