public ActionResult <HealthReportResModel> GetHealStatisticsReport(StudentStasticSearchViewModel studentStasticSearchViewModel) { try { HealthReportResModel result = new HealthReportResModel(); var info = _studentReportQueries.GetHealthStatisticsMiddleModel(studentStasticSearchViewModel); result.healthStatisticsMiddleModel = info; result.IsSuccess = true; result.baseViewModel.ResponseCode = 200; result.baseViewModel.Message = "数据查询成功"; return(Ok(result)); } catch (Exception ex) { return(NotFound("系统错误,请联系管理员")); } }
public ActionResult <SchoolSituationStatisticsResModel> GetSchoolSituation(StudentStasticSearchViewModel SearchViewModel) { try { SchoolSituationStatisticsResModel result = new SchoolSituationStatisticsResModel(); var date = _studentReportQueries.GetSchoolSituationStatistics(SearchViewModel, "学生"); result.IsSuccess = true; result.Data = date; result.baseViewModel.ResponseCode = 200; result.baseViewModel.Message = "数据获取成功"; return(Ok(result)); } catch (Exception ex) { return(NotFound("系统问题请联系管理员")); } }
public ActionResult <StudentReportResModel> GetSecondListReport(StudentStasticSearchViewModel studentStasticSearchViewModel) { try { StudentReportResModel result = new StudentReportResModel(); var listStudent = _studentReportQueries.GetStudentReportList(studentStasticSearchViewModel); var listEmployee = _studentReportQueries.GetEmployeeeReportList(studentStasticSearchViewModel); result.studentComtemlateMiddles = listStudent; result.employReportMiddles = listEmployee; result.IsSuccess = true; result.baseViewModel.Message = "查询成功"; result.baseViewModel.ResponseCode = 200; return(Ok(result)); } catch (Exception e) { return(NotFound("系统错误请联系管理员")); } }
public ActionResult <SchoolAndStudentTopReportResModel> GetSchoolAndStudentTop(StudentStasticSearchViewModel studentStasticSearchViewModel) { try { SchoolAndStudentTopReportResModel result = new SchoolAndStudentTopReportResModel(); var info = _studentReportQueries.GetStudentTopReportMiddleModel(studentStasticSearchViewModel); result.IsSuccess = true; result.schoolAndStudentTopReportMiddleModel = info; result.baseViewModel.ResponseCode = 200; result.baseViewModel.Message = "数据查询成功"; return(Ok(result)); } catch (Exception ex) { return(NotFound("系统问题请联系管理员")); } }