예제 #1
0
 /// <summary>
 /// 作者:Kylin
 /// 时间:2014.10.07
 /// 描述:获取网课替代率统计报表数据集
 /// </summary>
 /// <param name="searchModel"></param>
 /// <returns></returns>
 public ActionResult SearchNetCourseRplacementStat(SearchNetCourseRplacementStatModel searchModel)
 {
     searchModel.SearchDate = searchModel.SearchDate ?? new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
     var areaId = searchModel.BranchId.HasValue ? searchModel.BranchId.Value : 0;
     return PartialView("_NetCourseRplacementStatList", ReportBLL.GetNetCourseRplacementStat(areaId, searchModel.SearchDate.Value));
 }
예제 #2
0
 public ActionResult NetCourseRplacementStat(SearchNetCourseRplacementStatModel searchModel)
 {
     return View("NetCourseRplacementStat", new SearchNetCourseRplacementStatModel()
     {
         SearchDate = DateTime.Now.Date
     });
 }