入库回退后反写入库单
This commit is contained in:
@@ -501,5 +501,13 @@ namespace WMS.Web.Repositories
|
||||
.SelectMany(x => x.orders.DefaultIfEmpty(), (p, order) => new { p.detail, order })
|
||||
.Where(x => boxIds.Contains(x.detail.BoxId) && x.order.Type != InstockType.Purchase).Select(s => s.detail.BoxId).ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<List<InStockDetails>> GetListBy(List<int> boxIds)
|
||||
{
|
||||
var entitys = await _context.InStockDetails.AsNoTracking()
|
||||
.Where(x => boxIds.Contains(x.BoxId) && (x.UnBind == null || x.UnBind == false))
|
||||
.ToListAsync();
|
||||
return entitys;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user