/// <summary>
        /// 分页查询book用户数据
        /// </summary>
        /// <param name="queryBookUser"></param>
        /// <returns></returns>
        public ActionRes GetListByPage(QueryPager_Book_User queryBookUser)
        {
            //throw new Exception("测试异常提示");

            var pageResult = AllServices.BookUserService.GetByPage(queryBookUser);

            return(ActionRes.Success(pageResult));
        }
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="queryPager_Book_User"></param>
        /// <returns></returns>
        public Models.Response.PageResult GetByPage(QueryPager_Book_User queryPager_Book_User)
        {
            //查询表达式
            var exp = Cat.M.Book.Services.Helper.ExpressionHelper.GetExpressionByQueryPager <QueryPager_Book_User, Book_User>(queryPager_Book_User);
            //排序
            IList <OrderBy> listOrderBy = new List <OrderBy>();

            if (!string.IsNullOrEmpty(queryPager_Book_User.sorter))
            {
                listOrderBy.Add(new OrderBy()
                {
                    Order = queryPager_Book_User.order, Sort = queryPager_Book_User.sort
                });
            }

            return(base.GetByPage(queryPager_Book_User.pn, queryPager_Book_User.ps, exp, listOrderBy));
        }