Ejemplo n.º 1
0
        public ActionResult GetOrderTableIds(int orderId)
        {
            Response res = new Response();

            res.Successed = false;
            try
            {
                var currentUser = OperatorProvider.Provider.GetCurrent();
                var payInfo     = _checkOutService.GetOrderPaymentInfo(orderId);
                if (payInfo != null && payInfo.Count > 0)
                {
                    res.Successed = true;
                    res.Data      = payInfo;
                }
                else
                {
                    res.Message = "此订单当前账务日期无结账记录,请重新确认!";
                }

                return(Json(res));
            }
            catch (Exception ex)
            {
                res.Message = ex.Message;
            }

            return(Json(res));
        }