예제 #1
0
        public ActionResult GetSaleListJson(Pagination pagination, Model.SaleQueryEntity entity)
        {
            var res = PosBLL.instance.GetAdminPostList(entity);

            if (res != null)
            {
                return(Content(GetPagingJson(res.ToList(), pagination)));
            }
            else
            {
                return(Error("未找到符合条件的记录!"));
            }
        }
예제 #2
0
        public ActionResult SummarySaleJson(Pagination pagination, Model.SaleQueryEntity entity)
        {
            var res = ReportBLL.Instance.RptGetSummarySale(entity);

            if (res != null)
            {
                return(Content(GetPagingJson(res.ToList(), pagination)));
            }
            else
            {
                return(Error("未找到符合条件的记录!"));
            }
        }