From 0e5c4a8e17dcefcc10b2507da61b099be12451d8 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 12 一月 2024 12:52:52 +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