From e4883f116f4c79b746f4421d59eb33c0a59e9f6c Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 24 Jul 2025 13:37:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E8=AE=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 1b961586a..01eadd4d6 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -3173,10 +3173,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common var customPrefix=string.Empty; // 对于一个标记绑定两个问题的不计稽查 - var exixtsMark = await _dbContext.ReadingTaskQuestionMark.AnyAsync(t => t.MarkId == entity.MarkId); + var existsMark = await _dbContext.ReadingTaskQuestionMark.AnyAsync(t => t.MarkId == entity.MarkId); + // 自定义表格 和问题添加标记的时候 要记录为 添加标记 if ((_userInfo.RequestUrl == "SaveTaskQuestion/-10" - || _userInfo.RequestUrl == "saveTableQuestionMark/-10") && type== "Add"&&!exixtsMark) + || _userInfo.RequestUrl == "saveTableQuestionMark/-10") && type== "Add"&&!existsMark) { isDistinctionInterface = false; customPrefix = "ReadingImageTask/submitCustomTag";