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