优化
This commit is contained in:
@@ -180,6 +180,7 @@ namespace WMS.Web.Repositories
|
||||
ErpDetailId=s.detail.ErpDetailId
|
||||
}).ToListAsync();
|
||||
|
||||
|
||||
//找到入库单:通过erp明细ID
|
||||
var erpDetIds = list.GroupBy(x => x.ErpDetailId).Select(x => x.Key).ToList();
|
||||
var instockDets= await _context.InStockDetails.Where(x =>erpDetIds.Contains(x.ErpDetailId)).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user