예제 #1
0
        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));
        }
예제 #2
0
        /// <summary>
        /// 获取维度
        /// </summary>
        /// <returns></returns>
        public ActionResult GetDimensionList()
        {
            var dimensions = _dictionaryBll.GetDimensionalities(GetDefaultPagination("BSCBH"), "");

            return(Content(dimensions.ToJson()));
        }