序列号集合的变更-EF调整
This commit is contained in:
@@ -188,7 +188,7 @@ namespace WMS.Web.Repositories
|
||||
List<int> list = entitys.Select(s => s.Id).ToList();
|
||||
var res = await _context.BoxInventory.Include(x => x.Details).Where(f => list.Contains(f.Id)).ToListAsync();
|
||||
_mapper.Map(entitys, res);
|
||||
await _context.SaveChangesAsync();
|
||||
var tt= await _context.SaveChangesAsync();
|
||||
if (_transaction != null)
|
||||
_transaction.Commit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user