username@email.com
2022-08-27 6e2b929cf381e2320ba6e7dec56c0371124d2b51
zhengcaioa/Services/PltPageService.cs
@@ -128,7 +128,7 @@
            query = query.OrderByDescending(x => x.Modifytime).ToList();
            if (searchEntity.totalrows == 0)
            //if (searchEntity.totalrows == 0)
                searchEntity.totalrows = query.Count();
            var rolelist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList();
            list = _mapper.Map<List<PltPageDTO>>(rolelist);
@@ -303,6 +303,7 @@
                                        PageSuperior = page.PageSuperior,
                                        PageIco = page.PageIco ?? "",  //fa  fa-angle-right
                                        OpenType = page.OpenType ?? 0,
                                        PageMethod = page.PageMethod,
                                    };
                    entityList = adminList.ToList();
                }
@@ -339,6 +340,7 @@
                                   PageSuperior = page.PageSuperior,
                                   PageIco = page.PageIco ?? "",  //fa  fa-angle-right
                                   OpenType = page.OpenType ?? 0,
                                   PageMethod = page.PageMethod,
                               };
                    entityList = list.ToList().Distinct(new PageEntityIdComparer()).ToList();
                }