修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
8f8751103e
commit
941eee9857
|
@ -1785,10 +1785,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
string extraIndentification = string.Empty;
|
||||
if (type == AuditOpt.Update)
|
||||
{
|
||||
extraIndentification= "/" + entity.IsDeleted.ToString();
|
||||
extraIndentification = "/" + entity.IsDeleted.ToString();
|
||||
}
|
||||
|
||||
|
||||
var userTypeEnum = await _dbContext.Users.Where(x => x.Id == entity.UserId).Select(x => x.UserTypeEnum).FirstOrDefaultAsync();
|
||||
//var user = await _dbContext.Users.Include(x => x.UserTypeRole).FirstOrDefaultAsync(x => x.Id == entity.UserId);
|
||||
await InsertInspection<TrialUserRole>(entity, type, x => new InspectionConvertDTO
|
||||
{
|
||||
|
@ -1797,6 +1797,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
ObjectRelationParentId = x.TrialId,
|
||||
ExtraIndentification = extraIndentification,
|
||||
ObjectRelationParentId2 = x.UserId,
|
||||
}, new {
|
||||
UserTypeEnum= userTypeEnum,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -632,6 +632,7 @@ public class IRaCISDBContext : DbContext
|
|||
|
||||
public virtual DbSet<IdentityUser> IdentityUser { get; set; }
|
||||
|
||||
|
||||
public virtual DbSet<TrialIdentityUser> TrialIdentityUser { get; set; }
|
||||
|
||||
public virtual DbSet<SystemDocConfirmedIdentityUser> SystemDocConfirmedIdentityUser { get; set; }
|
||||
|
|
Loading…
Reference in New Issue