diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 77193b813..ea9090367 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();