wanshenmean
4 天以前 f7ec7a32e8cddcb976093c826e3a0d1ed61fb335
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);
        }
    }
}