优化
This commit is contained in:
@@ -754,7 +754,7 @@ namespace WMS.Web.Repositories
|
||||
.SelectMany(x => x.orders.DefaultIfEmpty(), (p, order) => new { p.detail, order })
|
||||
.GroupJoin(_context.InstockTaskBox,p=>p.order.Id,ts=>ts.TaskId, (p,ts)=>new { p.detail,p.order,ts})
|
||||
.SelectMany(x => x.ts.DefaultIfEmpty(), (p, box) => new { p.detail, p.order,box })
|
||||
.GroupJoin(_context.InStockDetails, p => p.detail.Id, ts => ts.TaskDetailId, (p, ts) => new { p.detail, p.order, p.box,ts })
|
||||
.GroupJoin(_context.InStockDetails, p => p.order.Id, ts => ts.TaskId, (p, ts) => new { p.detail, p.order, p.box,ts })
|
||||
.SelectMany(x => x.ts.DefaultIfEmpty(), (p, instockdet) => new { p.detail, p.order,p.box, instockdet })
|
||||
.Where(adv => 1 == 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user