更改 增加工单 根据计划ID查询工单

This commit is contained in:
xiaowei.song
2023-11-16 09:41:52 +08:00
parent ee917a3133
commit 1db36d34d9
3 changed files with 9 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ namespace ZR.Service.mes.pro
return Context.Deleteable<ProWorkplan>().In(id).ExecuteCommand();
}
public List<ProWorkorder> GetWorkorderList(string id)
public List<ProWorkorder> GetWorkorderListByPlanId(string id)
{
return Context.Queryable<ProWorkorder>().Where(it => it.FkProPlanId == id).ToList();
}