diff --git a/IRaCIS.Core.Domain/Visit/SubjectVisit.cs b/IRaCIS.Core.Domain/Visit/SubjectVisit.cs index b5afd27ac..c579f7ad0 100644 --- a/IRaCIS.Core.Domain/Visit/SubjectVisit.cs +++ b/IRaCIS.Core.Domain/Visit/SubjectVisit.cs @@ -87,6 +87,7 @@ namespace IRaCIS.Core.Domain.Models public string CheckResult { get; set; } = String.Empty; + //是否一致性核查回退 public bool? IsCheckBack { get; set; } public CheckChanllengeTypeEnum CheckChallengeState { get; set; } diff --git a/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs b/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs index 8597757a1..66ee3ef08 100644 --- a/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs +++ b/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs @@ -248,7 +248,7 @@ namespace IRaCIS.Core.Infra.EFCore _dbContext.Entry(entity).Property(prop.Name).IsModified = true; } - return await SaveChangesAsync(cancellationToken); + return await SaveChangesAsync(autoSave); } @@ -283,7 +283,7 @@ namespace IRaCIS.Core.Infra.EFCore - await SaveChangesAsync(cancellationToken); + await SaveChangesAsync(autoSave); return searchEntity; }