public List<StudentVisitSummaryReportItem> GetStudentVisitSummaryReportByStudent(string clazzName, DateTime? startTime, DateTime? endTime) { var ds = new ReportRepository(); if (String.IsNullOrEmpty(clazzName)) clazzName = "%"; if (!startTime.HasValue) { startTime = new DateTime(1990, 1, 1); } if (!endTime.HasValue) { endTime = DateTime.Today.AddDays(1); } return ds.GetStudentVisitSummaryReportByStudent(clazzName, startTime, endTime); }