审计遗漏

Uat_Study
hang 2022-04-25 10:02:12 +08:00
parent 5b422f575e
commit da0cf9cc28
1 changed files with 5 additions and 0 deletions

View File

@ -50,7 +50,12 @@ namespace IRaCIS.Core.Application.Triggers
{
context.Entity.CreateUserId = _userInfo.Id;
context.Entity.CreateUser = _userInfo.UserName;
}
if (context.Entity.CreateTime == default(DateTime))
{
context.Entity.CreateTime = DateTime.UtcNow.AddHours(8);
}
return Task.CompletedTask;