bug
This commit is contained in:
@@ -257,8 +257,10 @@ 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.DictionaryTypeId==DictConst.PrdTaskStatusTypeId && a.mo_task_status==e.EnCode)
|
||||
.LeftJoin<OrganizeEntity>((a,b,c,d,e,f)=>a.workline_id==f.Id)
|
||||
.LeftJoin<BasProcess>((a,b,c,d,e,f,g)=>a.process_id==g.id)
|
||||
.Where((a,b) => a.mo_task_code == mo_task_code)
|
||||
.Select((a,b,c,d,e) => new
|
||||
.Select((a,b,c,d,e,f,g) => new
|
||||
{
|
||||
id = a.id,
|
||||
mo_task_code = a.mo_task_code,
|
||||
@@ -278,6 +280,8 @@ namespace Tnb.ProductionMgr
|
||||
// reported_qty = a.reported_qty,
|
||||
// prd_qty = a.prd_qty,
|
||||
eqp_code = d.code,
|
||||
workline_name = f.FullName,
|
||||
process_name = g.process_name
|
||||
}).FirstAsync();
|
||||
|
||||
return prdTask;
|
||||
|
||||
Reference in New Issue
Block a user