组装下发列表传员工工位

This commit is contained in:
2024-06-27 18:03:07 +08:00
parent 42b3352c38
commit df0be4e15d
2 changed files with 4 additions and 1 deletions

View File

@@ -82,6 +82,7 @@
public string create_time { get; set; }
public string workstation_name { get; set; }
public string worker_name { get; set; }
}
}

View File

@@ -432,8 +432,9 @@ namespace Tnb.ProductionMgr
.LeftJoin<PrdMo>((a, b, c, d) => a.mo_id == d.id)
.LeftJoin<BasProcess>((a, b, c, d, e) => a.process_id == e.id)
.LeftJoin<OrganizeEntity>((a, b,c,d,e,f) => a.workstation_id == f.Id)
.LeftJoin<UserEntity>((a, b,c,d,e,f,g)=>a.worker_id==g.Id)
.Where((a, b, c, d) => a.parent_id == mo_task_id)
.Select((a, b, c, d, e,f) => new PackSechelToBeIssueListOutput
.Select((a, b, c, d, e,f,g) => new PackSechelToBeIssueListOutput
{
mo_task_id = a.id,
mo_task_code = a.mo_task_code,
@@ -443,6 +444,7 @@ namespace Tnb.ProductionMgr
workline_name = c.FullName,
mo_task_status = a.mo_task_status,
workstation_name = f.FullName,
worker_name = g.RealName,
scheduled_qty = a.scheduled_qty,
plan_qty = d.plan_qty,
process_task_qty = a.process_task_qty,