heshaofeng
9 天以前 0ea40a1592de878592b2872b9c3005014233a136
项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs
@@ -25,7 +25,7 @@
        /// <param name="orderId"></param>
        /// <param name="materielCode"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("GetStockSelectViews"),AllowAnonymous]
        [HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous]
        public List<StockSelectViewDTO> GetStockSelectViews(int orderId, string materielCode)
        {
            return Service.GetStockSelectViews(orderId, materielCode);
@@ -44,10 +44,30 @@
            {
                return Service.GetSelectViewDTOs(orderNo, materielCode);
            }
            catch(Exception ex)
            catch (Exception ex)
            {
                return new List<StockSelectViewDTO>();
            }
        }
        /// <summary>
        /// /
        /// </summary>
        /// <param name="orderNo"></param>
        /// <param name="materielCode"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("GetAllocateStockSelect"), AllowAnonymous]
        public List<StockSelectViewDTO> GetAllocateSelectViewDTOs(int orderId, string materielCode)
        {
            try
            {
                return Service.GetAllocateSelectViewDTOs(orderId, materielCode);
            }
            catch (Exception ex)
            {
                return new List<StockSelectViewDTO>();
            }
        }
    }
}