修复bug
This commit is contained in:
@@ -143,14 +143,14 @@ namespace WMS.Web.Repositories
|
||||
{
|
||||
if (ids == null)
|
||||
{
|
||||
return await _context.SubscribeNotification
|
||||
return await _context.SubscribeNotification.Where(w => w.IsDelete != true)
|
||||
.AsNoTracking().ToListAsync();
|
||||
}
|
||||
else
|
||||
{
|
||||
return await _context.SubscribeNotification
|
||||
.AsNoTracking()
|
||||
.Where(w => ids.Contains(w.Id))
|
||||
.Where(w => ids.Contains(w.Id) && w.IsDelete != true)
|
||||
.ToListAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user