优化接口
This commit is contained in:
@@ -172,6 +172,12 @@ namespace WMS.Web.Repositories
|
||||
return await _context.BoxInventory.Include(x => x.Details).Where(x => ids.Contains(x.BoxId)).ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<bool> IsExist(int boxId)
|
||||
{
|
||||
return await _context.BoxInventory.Where(x => x.BoxId == boxId).AnyAsync();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 实体-根据箱id
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user