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("未找到符合条件的记录!")); } }
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("未找到符合条件的记录!")); } }