更改 增加工单 根据计划ID查询工单
This commit is contained in:
@@ -32,7 +32,7 @@ namespace ZR.Service.mes.pro.IService
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public List<ProWorkorder> GetWorkorderList(string id);
|
||||
public List<ProWorkorder> GetWorkorderListByPlanId(string id);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单ID,获取工单
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user