Esempio n. 1
0
        public ActionResult ApplyMoney(string orderId)
        {
            pbs_basic_OrderView    pbsBasicOrderView    = new pbs_basic_OrderView();
            pbs_basic_OrderService pbsBasicOrderService = new pbs_basic_OrderService();
            int oId = Utility.Util.ParseHelper.ToInt(orderId);
            ResultInfo <pbs_basic_OrderView> result_orderView = pbsBasicOrderService.GetOrderModelViewById(oId);

            if (result_orderView.Result && result_orderView.Data != null)
            {
                pbsBasicOrderView = result_orderView.Data;
            }

            pbs_basic_GoodsPackageService       pbsBasicGoodsPackageService = new pbs_basic_GoodsPackageService();
            ResultInfo <pbs_basic_GoodsPackage> resultGoodsPackage          = pbsBasicGoodsPackageService.GetGoodsPackageModelById(pbsBasicOrderView.GoodsPackageId);

            if (resultGoodsPackage.Result && resultGoodsPackage.Data != null)
            {
                ViewData["GoodsPackageName"] = resultGoodsPackage.Data.GoodsPackageName;
            }
            else
            {
                ViewData["GoodsPackageName"] = "无";
            }

            ViewData["pbsBasicOrderView"] = pbsBasicOrderView;
            return(View());
        }
Esempio n. 2
0
        public ActionResult AssessOrder(string orderId)
        {
            pbs_basic_OrderView    pbsBasicOrderView    = new pbs_basic_OrderView();
            pbs_basic_OrderService pbsBasicOrderService = new pbs_basic_OrderService();
            int oId = Utility.Util.ParseHelper.ToInt(orderId);
            ResultInfo <pbs_basic_OrderView> result_orderView = pbsBasicOrderService.GetOrderModelViewById(oId);

            if (result_orderView.Result && result_orderView.Data != null)
            {
                pbsBasicOrderView = result_orderView.Data;
            }

            ViewData["pbsBasicOrderView"] = pbsBasicOrderView;
            return(View());
        }