This commit is contained in:
2024-05-21 17:22:09 +08:00
parent ccb52b157d
commit d013cbaa90
5 changed files with 23 additions and 2 deletions

View File

@@ -408,8 +408,9 @@ namespace Tnb.ProductionMgr
.LeftJoin<OrganizeEntity>((a, b, c) => a.workline_id == c.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<OrganizeEntity>((a, b,c,d,e,f) => a.workstation_id == f.Id)
.Where((a, b, c, d) => a.parent_id == mo_task_id)
.Select((a, b, c, d, e) => new PackSechelToBeIssueListOutput
.Select((a, b, c, d, e,f) => new PackSechelToBeIssueListOutput
{
mo_task_id = a.id,
mo_task_code = a.mo_task_code,
@@ -418,6 +419,7 @@ namespace Tnb.ProductionMgr
workline_code = c.EnCode,
workline_name = c.FullName,
mo_task_status = a.mo_task_status,
workstation_name = f.FullName,
scheduled_qty = a.scheduled_qty,
plan_qty = d.plan_qty,
process_task_qty = a.process_task_qty,