From 2b84cdd5a65352ef09647244fd13c4c77c47b19d Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 26 Apr 2022 09:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=93=E5=82=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Domain/Visit/SubjectVisit.cs | 1 + IRaCIS.Core.Infra.EFCore/Repository/Repository.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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; }