修改用户日志

This commit is contained in:
2025-01-09 15:23:28 +08:00
parent d3396d9683
commit 862da87a0c
2 changed files with 2 additions and 1 deletions
@@ -58,7 +58,7 @@ namespace IRaCIS.Core.Application.ViewModel
public Guid? UserTypeId { get; set; }
public Guid? UserId { get; set; }
public Guid? IdentityUserId { get; set; }
}
@@ -916,6 +916,7 @@ namespace IRaCIS.Core.Application.Service
var userLogQueryable =
_userLogRepository.AsQueryable().IgnoreQueryFilters()
.WhereIf(inQuery.IdentityUserId != null, t => t.ActionIdentityUserId == inQuery.IdentityUserId)
.WhereIf(inQuery.TrialId != null, t => t.ActionIdentityUser.UserTrialList.Any(c => c.TrialId == inQuery.TrialId))
.WhereIf(trialCreateTime != null, t => t.CreateTime >= trialCreateTime)
.WhereIf(inQuery.OptType != null, t => t.OptType == inQuery.OptType)