标记修改

Uat_IRC_Net8
he 2025-07-24 13:37:48 +08:00
parent 469e7cb49b
commit e4883f116f
1 changed files with 3 additions and 2 deletions

View File

@ -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";