Ejemplo n.º 1
0
        public string GetPager(int page, int rows, long posId, string searchName, string isToday, string isJz, PosConsumeSearchInfo search)
        {
            if (isToday == "Y")
            {
                var models2 = PosConsumeBll.GetTodayPagerByPos(isJz, page, rows, posId);
                return(JsonConvert.SerializeObject(models2));
            }
            var models = PosConsumeBll.GetPagerByPos(isJz, page, rows, posId, searchName, search);

            return(JsonConvert.SerializeObject(models));
        }