示例#1
0
        /// <summary>
        /// 点击发货修改成为发货状态
        /// </summary>
        /// <returns></returns>
        public OrderUpdateStausGoGoodsResponse UpdateStausGoGoods(OrderUpdateStausGoGoodsRequest request)
        {
            OrderUpdateStausGoGoodsResponse response = new OrderUpdateStausGoGoodsResponse();
            OrderInfo info = new OrderInfo()
            {
                OrderId = request.OrderId,
            };
            var res = dal.UpdateStausGoGoods(info.OrderId);

            if (res > 0)
            {
                response.Status  = false;
                response.Message = "发货成功";
            }
            else
            {
                response.Status  = true;
                response.Message = "发货失败";
            }
            return(response);
        }
示例#2
0
        /// <summary>
        /// 点击发货修改成为发货状态
        /// </summary>
        /// <returns></returns>
        public JsonResult UpdateStausGoGoodsMethod(OrderUpdateStausGoGoodsRequest request)
        {
            var res = bll.UpdateStausGoGoods(request);

            return(Json(res));
        }
 public OrderUpdateStausGoGoodsResponse UpdateStausGoGoods(OrderUpdateStausGoGoodsRequest request)
 {
     return(OrderBll.Instance.UpdateStausGoGoods(request));
 }
示例#4
0
 /// <summary>
 /// 点击发货修改成为发货状态
 /// </summary>
 /// <returns></returns>
 public OrderUpdateStausGoGoodsResponse UpdateStausGoGoods(OrderUpdateStausGoGoodsRequest request)
 {
     return(ApiRequestHelper.Post <OrderUpdateStausGoGoodsRequest, OrderUpdateStausGoGoodsResponse>(request));
 }