分列修改
parent
0e4ae72016
commit
e444354cf7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue