From 00446e5e764fd57ea0f28b30921f4a5daa60c890 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 23 七月 2021 14:10:31 +0800 Subject: [PATCH] 流程 费用申请,物品申领 --- zhengcaioa/Services/WfHistoryService.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/Services/WfHistoryService.cs b/zhengcaioa/Services/WfHistoryService.cs index 41f1668..c3c607a 100644 --- a/zhengcaioa/Services/WfHistoryService.cs +++ b/zhengcaioa/Services/WfHistoryService.cs @@ -200,11 +200,11 @@ Modifytime = a.Modifytime, } - ).OrderBy(x => x.Sort).ThenByDescending(x=>x.Resivetime).ToList(); + ).OrderByDescending(x=>x.Applyno).ThenBy(x => x.Sort).ThenByDescending(x=>x.Resivetime).ToList(); - 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); -- Gitblit v1.9.1