箱集合查询序列号

This commit is contained in:
18942506660
2023-11-14 15:03:30 +08:00
parent 403c2df59b
commit 3f22b2b9a7
2 changed files with 15 additions and 0 deletions

View File

@@ -113,6 +113,19 @@ namespace WMS.Web.Repositories
return res.Clone();
}
/// <summary>
/// 根据箱Ids查询集合
/// </summary>
/// <param name="boxIds"></param>
/// <returns></returns>
public async Task<List<SerialNumbers>> GetEntityListByBoxIds(List<int> boxIds)
{
var res = await _context.SerialNumbers
.Where(f => boxIds.Contains(f.BoxId))
.ToListAsync();
return res.Clone();
}
/// <summary>
/// 根据序列号