コード例 #1
0
ファイル: MOrdersController.cs プロジェクト: wangweicoder/Erp
        /// <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));
        }
コード例 #2
0
ファイル: OrdersController.cs プロジェクト: wangweicoder/Erp
        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));
        }