From 10ec50f8e9ded45e8b439114a17ed89297c948c7 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 13 七月 2021 15:04:51 +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