Revert "标记修改"
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
This reverts commit fd52011be9
.
Uat_IRC_Net8
parent
fd52011be9
commit
24ec6b21d5
|
@ -1987,6 +1987,9 @@ 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();
|
||||
|
||||
|
@ -2122,9 +2125,6 @@ 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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue