From fc869b332b437db27ad90ed2221090491de28563 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 28 六月 2021 14:21:34 +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