From 0b3c5c92e2438d28edc766bda344fa90c665371d Mon Sep 17 00:00:00 2001 From: "{872297557@qq.com}" <872297557@qq.com> Date: Fri, 9 Dec 2022 16:35:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=97=85=E7=81=B6=E7=A8=BD?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 77193b81..ea909036 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -14,6 +14,7 @@ using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; + namespace IRaCIS.Core.Infra.EFCore.Common { public static class AuditOpt @@ -676,7 +677,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common //分裂病灶 需要原病灶的标识 //if (_userInfo.RequestUrl == " ReadingImageTask/splitLesion") - var originalRowMark = string.Empty; if (entity.SplitRowId != null) { @@ -684,7 +684,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common originalRowMark = await _dbContext.ReadingTableAnswerRowInfo.Where(t => t.Id == entity.SplitRowId).Select(t => t.RowMark).FirstOrDefaultAsync(); } + //处理标识 因为触发器在稽查后才进行操作 + entity.RowMark = entity.OrderMark + entity.RowIndex.GetLesionMark();