public ActionResult GetDimensionalities(Pagination pagination, string queryJson) { var watch = CommonHelper.TimerStart(); var data = dicBll.GetDimensionalities(pagination, queryJson); var JsonData = new { rows = data, pagination.total, pagination.page, pagination.records, costtime = CommonHelper.TimerEnd(watch) }; return(ToJsonResult(JsonData)); }
/// <summary> /// 获取维度 /// </summary> /// <returns></returns> public ActionResult GetDimensionList() { var dimensions = _dictionaryBll.GetDimensionalities(GetDefaultPagination("BSCBH"), ""); return(Content(dimensions.ToJson())); }