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)