Beispiel #1
0
        public ActionResult GetBridgeDataBySaleJson(Pagination pagination, string queryJson)
        {
            var watch    = CommonHelper.TimerStart();
            var data     = contractbll.GetBridgeDataBySale(pagination, queryJson);
            var jsonData = new
            {
                rows     = data,
                total    = pagination.total,
                page     = pagination.page,
                records  = pagination.records,
                costtime = CommonHelper.TimerEnd(watch)
            };

            return(Content(data.ToJson("yyyy-MM-dd")));
        }