Exemplo n.º 1
0
        /// <summary>
        /// 获得订单详情
        /// </summary>
        /// <param name="limit"></param>
        /// <param name="offset"></param>
        /// <returns></returns>
        public JsonResult GetOrdersDetailsList()
        {
            string OrdersId = Request["OrdersId"];

            Business.Sys_OrdersManaage Sys_OrdersManaage = new Business.Sys_OrdersManaage();
            List <Model.OrdersDetails> OrdersDetailsList = Sys_OrdersManaage.GetOrdersDetailsByOrdersId(OrdersId);

            return(Json(OrdersDetailsList, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
        public JsonResult GetOrdersDetailsList(int limit, int offset)
        {
            string OrdersId = Request["OrdersId"];

            Business.Sys_OrdersManaage Sys_OrdersManaage = new Business.Sys_OrdersManaage();
            List <Model.OrdersDetails> OrdersDetailsList = Sys_OrdersManaage.GetOrdersDetailsByOrdersId(OrdersId);

            return(Json(new { total = OrdersDetailsList.Count(), rows = OrdersDetailsList }, JsonRequestBehavior.AllowGet));
        }