public ActionResult SaveBatch() { string data = Request.Params["requestData"]; if (data == null) { return(Json( new OperateResult { content = "无考核数据", }, JsonRequestBehavior.AllowGet )); } JavaScriptSerializer js = new JavaScriptSerializer(); List <AssessmentInfo> lstData = js.Deserialize <List <AssessmentInfo> >(data); if (lstData.Count == 0) { return(Json( new OperateResult { content = "无考核数据", }, JsonRequestBehavior.AllowGet )); } OperateResult or = AssessmentManager.SaveBatch(lstData); return(Json(or, JsonRequestBehavior.AllowGet)); }