1
This commit is contained in:
@@ -64,6 +64,7 @@ namespace Tnb.ProductionMgr
|
|||||||
.LeftJoin<ToolMolds>((a, b, c) => a.mold_id == c.id)
|
.LeftJoin<ToolMolds>((a, b, c) => a.mold_id == c.id)
|
||||||
.LeftJoin<EqpEquipment>((a, b, c, d) => a.eqp_id == d.id)
|
.LeftJoin<EqpEquipment>((a, b, c, d) => a.eqp_id == d.id)
|
||||||
.WhereIF(!string.IsNullOrEmpty(moCode), (a, b, c, d) => a.mo_task_code!.Contains(moCode))
|
.WhereIF(!string.IsNullOrEmpty(moCode), (a, b, c, d) => a.mo_task_code!.Contains(moCode))
|
||||||
|
.Where(a=>string.IsNullOrEmpty(a.parent_id))
|
||||||
.Select((a, b, c, d) => new PrdMoTaskTreeOutput()
|
.Select((a, b, c, d) => new PrdMoTaskTreeOutput()
|
||||||
{
|
{
|
||||||
id = a.id,
|
id = a.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user