工单列表按照优先级降序排列
This commit is contained in:
parent
004f6210bd
commit
0b6ec753e6
@ -57,7 +57,7 @@ namespace ZR.Service.mes.pro
|
||||
|
||||
public List<ProWorkorder> GetWorkorderListByPlanId(string id)
|
||||
{
|
||||
return Context.Queryable<ProWorkorder>().Where(it => it.FkProPlanId == id).ToList();
|
||||
return Context.Queryable<ProWorkorder>().Where(it => it.FkProPlanId == id).OrderBy("priority desc ").ToList();
|
||||
}
|
||||
|
||||
public List<ProWorkorder> GetWorkorderListById(string id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user