增加获取工单查询

This commit is contained in:
xiaowei.song
2023-11-15 14:38:10 +08:00
parent 79b8251d8e
commit f3712b58e7
5 changed files with 55 additions and 0 deletions

View File

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