From 0b6ec753e6e6c5a4fda11b791102e2e900da1ca2 Mon Sep 17 00:00:00 2001 From: "xiaowei.song" Date: Thu, 16 Nov 2023 10:08:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E5=88=97=E8=A1=A8=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E4=BC=98=E5=85=88=E7=BA=A7=E9=99=8D=E5=BA=8F=E6=8E=92?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Service/mes/pro/ProWorkplanService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZR.Service/mes/pro/ProWorkplanService.cs b/ZR.Service/mes/pro/ProWorkplanService.cs index 1aa6cbc0..fc08846a 100644 --- a/ZR.Service/mes/pro/ProWorkplanService.cs +++ b/ZR.Service/mes/pro/ProWorkplanService.cs @@ -57,7 +57,7 @@ namespace ZR.Service.mes.pro public List GetWorkorderListByPlanId(string id) { - return Context.Queryable().Where(it => it.FkProPlanId == id).ToList(); + return Context.Queryable().Where(it => it.FkProPlanId == id).OrderBy("priority desc ").ToList(); } public List GetWorkorderListById(string id)