组装下发列表传员工工位
This commit is contained in:
@@ -82,6 +82,7 @@
|
|||||||
public string create_time { get; set; }
|
public string create_time { get; set; }
|
||||||
|
|
||||||
public string workstation_name { get; set; }
|
public string workstation_name { get; set; }
|
||||||
|
public string worker_name { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -432,8 +432,9 @@ namespace Tnb.ProductionMgr
|
|||||||
.LeftJoin<PrdMo>((a, b, c, d) => a.mo_id == d.id)
|
.LeftJoin<PrdMo>((a, b, c, d) => a.mo_id == d.id)
|
||||||
.LeftJoin<BasProcess>((a, b, c, d, e) => a.process_id == e.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<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)
|
.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_id = a.id,
|
||||||
mo_task_code = a.mo_task_code,
|
mo_task_code = a.mo_task_code,
|
||||||
@@ -443,6 +444,7 @@ namespace Tnb.ProductionMgr
|
|||||||
workline_name = c.FullName,
|
workline_name = c.FullName,
|
||||||
mo_task_status = a.mo_task_status,
|
mo_task_status = a.mo_task_status,
|
||||||
workstation_name = f.FullName,
|
workstation_name = f.FullName,
|
||||||
|
worker_name = g.RealName,
|
||||||
scheduled_qty = a.scheduled_qty,
|
scheduled_qty = a.scheduled_qty,
|
||||||
plan_qty = d.plan_qty,
|
plan_qty = d.plan_qty,
|
||||||
process_task_qty = a.process_task_qty,
|
process_task_qty = a.process_task_qty,
|
||||||
|
|||||||
Reference in New Issue
Block a user