修复bug

This commit is contained in:
18942506660
2024-03-29 13:33:17 +08:00
parent b684993b73
commit dfc3e6210d

View File

@@ -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();
} }
} }