From d4431c7e89865a506af8662244004d0baa7ed609 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 11 六月 2025 12:24:15 +0800
Subject: [PATCH] 投诉处理,爬
---
zhengcaioa/Services/WfApplytypeService.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zhengcaioa/Services/WfApplytypeService.cs b/zhengcaioa/Services/WfApplytypeService.cs
index 86a9a08..0559fa6 100644
--- a/zhengcaioa/Services/WfApplytypeService.cs
+++ b/zhengcaioa/Services/WfApplytypeService.cs
@@ -127,7 +127,7 @@
- if (searchEntity.totalrows == 0)
+ //if (searchEntity.totalrows == 0)
searchEntity.totalrows = query.Count();
var lianlist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList();
data.LoadData(searchEntity, lianlist);
@@ -162,7 +162,7 @@
{
- var listRole = _context.WfApplytypes.Where(r => r.RecStatus == "A").ToList();
+ var listRole = _context.WfApplytypes.Where(r => r.RecStatus == "A").OrderBy(x=>x.Sort).ToList();
var list = _mapper.Map<List<WfApplytypeDTO>>(listRole);
return list;
--
Gitblit v1.9.1