From 57556b16aafbafebc7f9fc86745ac2ea83e7616d Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 01 七月 2021 14:26:35 +0800 Subject: [PATCH] 流程 请假 销假 待办 已办 我得申请 --- zhengcaioa/Services/WfApplytypeService.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/Services/WfApplytypeService.cs b/zhengcaioa/Services/WfApplytypeService.cs index 86a9a08..123f7cf 100644 --- a/zhengcaioa/Services/WfApplytypeService.cs +++ b/zhengcaioa/Services/WfApplytypeService.cs @@ -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