public ActionResult GetPageListJson(Pagination pagination, string queryJson) { try { var watch = CommonHelper.TimerStart(); pagination.p_kid = "t.ID"; pagination.p_fields = @" t.auditresult,t.audittime,t.auditopinion,t.auditpeople,t.auditdept "; pagination.p_tablename = @"epg_aptitudeinvestigateaudit t"; pagination.sidx = "t.audittime"; //排序字段 pagination.sord = "desc"; //排序方式 pagination.conditionJson = " 1=1 "; var data = aptitudeinvestigateauditbll.GetPageList(pagination, queryJson); var jsonData = new { rows = data, total = pagination.total, page = pagination.page, records = pagination.records, costtime = CommonHelper.TimerEnd(watch) }; return(ToJsonResult(jsonData)); } catch (Exception ex) { throw new Exception(ex.Message); } }