Beispiel #1
0
        /// <summary>
        /// 配车状态:恢复配车1,取消配车0
        /// </summary>
        /// <param name="context"></param>
        public void DistributeNeed(HttpContext context)
        {
            string orderId = context.Request["orderId"];

            if (string.IsNullOrEmpty(orderId))
            {
                return;
            }
            int needType = Convert.ToInt32(context.Request["needType"]);

            BLL.Order bll = new BLL.Order();
            bll.ChangeOrdersNeeds(orderId.Replace(" ", "").Replace("\"", "").Replace("[", "").Replace("]", ""), needType);
        }