标记修改
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
he 2025-07-14 15:05:13 +08:00
parent ef351674b7
commit fd52011be9
1 changed files with 3 additions and 3 deletions

View File

@ -1987,9 +1987,6 @@ namespace IRaCIS.Core.Application.Service
// 当 param == -10 时,为自定义标准 需要区分 绑定 更改 标记
if (param == "-10")
{
// 自定义这边 移除标记 还是会传过来 不过 MeasureData 为空字符串
inDto.QuestionMarkInfoList = inDto.QuestionMarkInfoList.Where(x => x.MeasureData.IsNotNullOrEmpty()).ToList();
var questionMarkList = inDto.QuestionMarkInfoList.Select(x => x.QuestionId).ToList();
@ -2125,6 +2122,9 @@ namespace IRaCIS.Core.Application.Service
case CriterionType.SelfDefine:
// 先找到需要删除的
var notnullQuestionIds = inDto.QuestionMarkInfoList.Where(x=>x.MeasureData.IsNotNullOrEmpty()).Select(y => (Guid?)y.QuestionId).ToList();
var needDeleteMarkQuestionIds = questionList.Except(markquestionId).ToList();
foreach (var item in needDeleteMarkQuestionIds)
{