From 378725af30f2ccf5007f80c553865be2b39f727a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 18 十月 2022 17:09:58 +0800
Subject: [PATCH] 修改数据库地址
---
zhengcaioa/Services/GroupGrouptypeService.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/zhengcaioa/Services/GroupGrouptypeService.cs b/zhengcaioa/Services/GroupGrouptypeService.cs
index 4ef6a65..c065aef 100644
--- a/zhengcaioa/Services/GroupGrouptypeService.cs
+++ b/zhengcaioa/Services/GroupGrouptypeService.cs
@@ -92,7 +92,7 @@
query = query.OrderBy(x => x.Sort).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<GroupGrouptypeDTO>>(rolelist);
--
Gitblit v1.9.1