AddWorkorder 增加逻辑控制
This commit is contained in:
@@ -32,6 +32,10 @@ namespace ZR.Service.mes.pro
|
||||
return (proWorkplanList, totalCount);
|
||||
}
|
||||
|
||||
public List<ProWorkplan> GetProWorkplanById(string id)
|
||||
{
|
||||
return Context.Queryable<ProWorkplan>().Where(it => it.Id == id).ToList();
|
||||
}
|
||||
|
||||
public int AddWorkPlan(ProWorkplan proWorkplan)
|
||||
{
|
||||
@@ -70,5 +74,7 @@ namespace ZR.Service.mes.pro
|
||||
{
|
||||
return Context.Deleteable<ProWorkorder>().In(id).ExecuteCommand();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user