heshaofeng
2025-12-01 bd5e0f950340b020cdf6fecf1977992e1c6e845f
项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
@@ -19,7 +19,28 @@
        public StockInfoController(IStockInfoService service) : base(service)
        {
        }
        /// <summary>
        /// 鏌ヨ璁㈠崟绔嬪簱搴撳瓨瑙嗗浘
        /// </summary>
        /// <param name="orderId"></param>
        /// <param name="materielCode"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("GetStockSelectViews"),AllowAnonymous]
        public List<StockSelectViewDTO> GetStockSelectViews(int orderId, string materielCode)
        {
            return Service.GetStockSelectViews(orderId, materielCode);
        }
        /// <summary>
        /// 鏌ヨ璁㈠崟绔嬪簱搴撳瓨瑙嗗浘
        /// </summary>
        /// <param name="orderId"></param>
        /// <param name="materielCode"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("GetSelectViewDTOs"), AllowAnonymous]
        public List<StockSelectViewDTO> GetSelectViewDTOs(string orderNo, string materielCode)
        {
            return Service.GetSelectViewDTOs(orderNo, materielCode);
        }
    }
}