Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs
@@ -18,5 +18,15 @@ { } /// <summary> /// 获取所有仓库 /// </summary> /// <returns>仓库列表</returns> [HttpGet("GetAll")] public async Task<WebResponseContent> GetAll() { var result = await Service.Repository.QueryDataAsync(x => x.WarehouseStatus == 1); return WebResponseContent.Instance.OK(data: result); } } }