111
wanshenmean
9 天以前 cce642111ff2bfa5c348d5733d77e7ce5e396d54
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);
        }
    }
}