public ActionResult Query(string PCateNum, int pageIndex)
        {
            Expression <Func <ProductCategory, bool> > where = item => item.IsDelete == 0;
            if (!string.IsNullOrEmpty(PCateNum))
            {
                where = where.And(item => item.PCateNum.IndexOf(PCateNum) != -1 || item.PCateName.IndexOf(PCateNum) != -1);
            }
            var pageCount = 0;
            var count     = 0;
            var list      = service.GetByWhereDesc(where, item => item.CreateTime, ref pageIndex, ref count, ref pageCount, PageSize);

            var newFormatList = list.Select(item => new { Id = item.Id, PCateNum = item.PCateNum, PCateName = item.PCateName, CreateTime = item.CreateTime.ToString("yyyy-MM-dd HH:mm:ss") });

            var result = new
            {
                PageIndex  = pageIndex,
                PageCount  = pageCount,
                Count      = count,
                RoleInfies = newFormatList
            };

            return(Json(result, JsonRequestBehavior.AllowGet));
        }