Ejemplo n.º 1
0
        public JsonResult GetPlatAccountItemlist(DateTime?startDate, DateTime?endDate, PlatAccountType?type, int page, int rows)
        {
            PlatAccountItemQuery query = new PlatAccountItemQuery();

            query.PageNo          = page;
            query.PageSize        = rows;
            query.TimeStart       = startDate;
            query.TimeEnd         = endDate;
            query.PlatAccountType = type;
            var model  = BillingApplication.GetPlatAccountItem(query);
            var result = new { rows = model.Models, total = model.Total };

            return(Json(result));
        }