材料出库单(材料)
This commit is contained in:
@@ -4092,6 +4092,15 @@ namespace Tnb.ProductionMgr
|
||||
{
|
||||
return await _db.Queryable<PrdMoTask>().SingleAsync(x => x.id == id);
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public async Task<OrganizeEntity> GetWorkstationByPosition(string id)
|
||||
{
|
||||
return await _db.Queryable<PositionEntity>()
|
||||
.LeftJoin<OrganizeEntity>((a,b)=>a.OrganizeId==b.Id && b.Category==DictConst.RegionCategoryWorkstationCode)
|
||||
.Select((a,b)=>b)
|
||||
.FirstAsync(x => x.Id == id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user