/// <summary> /// 查看商户详细信息 /// danny-20150512 /// </summary> /// <param name="businessId">商户Id</param> /// <returns></returns> public ActionResult BusinessDetail(string businessId) { var criteria = new BusinessBalanceRecordSerchCriteria() { BusinessId = Convert.ToInt32(businessId) }; ViewBag.businessBalanceRecord = iBusinessFinanceProvider.GetBusinessBalanceRecordListOfPaging(criteria); var queryCriteria = new BussinessBalanceQuery(); queryCriteria.BusinessId = businessId; ViewBag.TotalAmount = statisticsProvider.QueryBusinessTotalAmount(queryCriteria); var businessWithdrawFormModel = iBusinessProvider.GetBusinessDetailById(businessId); return(View(businessWithdrawFormModel)); }
/// <summary> /// 获取商家充值统计数据 /// </summary> /// <UpdateBy>zhaohailong</UpdateBy> /// <UpdateTime>20150623</UpdateTime> /// <param name="criteria"></param> private void GetStaticData(BussinessBalanceQuery criteria) { ViewBag.TotalAmount = statisticsProvider.QueryBusinessTotalAmount(criteria); ViewBag.TotalBalance = bussinessProvider.QueryAllBusinessTotalBalance(); ViewBag.TotalNum = statisticsProvider.QueryBusinessNum(criteria); }