pda组装包装任务管理相关接口

This commit is contained in:
2023-08-31 11:37:45 +08:00
parent 2d6e2a56fc
commit 49056a6a53
4 changed files with 112 additions and 2 deletions

View File

@@ -2175,8 +2175,9 @@ namespace Tnb.ProductionMgr
.LeftJoin<ToolMolds>((a, b, c) => a.mold_id == c.id)
.LeftJoin<EqpEquipment>((a, b, c, d) => a.eqp_id == d.id)
.LeftJoin<DictionaryDataEntity>((a,b,c,d,e)=>e.EnCode==a.mo_task_status && e.DictionaryTypeId==DictConst.PrdTaskStatusTypeId)
.LeftJoin<BasProcess>((a,b,c,d,e,f)=>a.process_id==f.id)
.Where((a, b, c, d) => a.id == id)
.Select((a, b, c, d,e) => new
.Select((a, b, c, d,e,f) => new
{
id = a.id,
mo_task_code = a.mo_task_code,
@@ -2190,6 +2191,8 @@ namespace Tnb.ProductionMgr
scheduled_qty = a.scheduled_qty,
reported_work_qty = a.reported_work_qty,
scrap_qty = a.scrap_qty,
process_id_id = a.process_id,
process_id = f.process_name,
}).FirstAsync();
}