分列修改

IRC_NewDev
he 2024-02-28 10:27:11 +08:00
parent 0e4ae72016
commit e444354cf7
1 changed files with 6 additions and 6 deletions

View File

@ -1430,12 +1430,12 @@ namespace IRaCIS.Application.Services
rowAnswer.MeasureData = string.Empty;
rowAnswer.OtherMeasureData =null;
List<QuestionMark?> needRemoveMark = new List<QuestionMark?>()
List<QuestionMark?> needSaveMark = new List<QuestionMark?>()
{
QuestionMark.MajorAxis,
QuestionMark.ShortAxis,
QuestionMark.State,
QuestionMark.PPD,
QuestionMark.Organ,
QuestionMark.Location,
QuestionMark.Part,
QuestionMark.IsLymph,
};
tableAnswers.ForEach(x =>
@ -1444,7 +1444,7 @@ namespace IRaCIS.Application.Services
x.RowIndex = newRowIndex;
x.VisitTaskId = inDto.VisitTaskId;
x.RowId = rowAnswer.Id;
x.Answer = needRemoveMark.Contains(x.ReadingTableQuestionTrial.QuestionMark) ? string.Empty : x.Answer;
x.Answer = needSaveMark.Contains(x.ReadingTableQuestionTrial.QuestionMark) ? x.Answer : string.Empty;
x.ReadingTableQuestionTrial = null;
});
await _readingTableAnswerRowInfoRepository.AddAsync(rowAnswer);