|
|
|
@ -110,8 +110,8 @@ namespace Volo.Abp.AuditLogging.EntityFrameworkCore |
|
|
|
.IncludeDetails(includeDetails) |
|
|
|
.WhereIf(startTime.HasValue, auditLog => auditLog.ExecutionTime >= startTime) |
|
|
|
.WhereIf(endTime.HasValue, auditLog => auditLog.ExecutionTime <= endTime) |
|
|
|
.WhereIf(hasException.HasValue && hasException.Value, auditLog => auditLog.Exceptions != null) |
|
|
|
.WhereIf(hasException.HasValue && !hasException.Value, auditLog => auditLog.Exceptions == null) |
|
|
|
.WhereIf(hasException.HasValue && hasException.Value, auditLog => auditLog.Exceptions != null && auditLog.Exceptions != "") |
|
|
|
.WhereIf(hasException.HasValue && !hasException.Value, auditLog => auditLog.Exceptions == null || auditLog.Exceptions == "") |
|
|
|
.WhereIf(httpMethod != null, auditLog => auditLog.HttpMethod == httpMethod) |
|
|
|
.WhereIf(url != null, auditLog => auditLog.Url != null && auditLog.Url.Contains(url)) |
|
|
|
.WhereIf(userName != null, auditLog => auditLog.UserName == userName) |
|
|
|
|