/// <summary> /// 根据学年学期获取本校和区考试信息Json /// </summary> /// <returns></returns> public JsonResult GetAllExamListJson(string yearTerm, string examId = "") { var year = yearTerm.Substring(0, 4) + "-" + (Convert.ToInt32(yearTerm.Substring(0, 4)) + 1); var term = yearTerm.Substring(4, 1); return(Json(_examService.GetAllExamList(schoolId, year, term, examId), JsonRequestBehavior.AllowGet)); }