修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
da220a3f5a
commit
e83dc93dca
|
|
@ -1966,10 +1966,13 @@ namespace IRaCIS.Core.Application.Service
|
||||||
Answer = TargetState.Loss.GetEnumInt(),
|
Answer = TargetState.Loss.GetEnumInt(),
|
||||||
});
|
});
|
||||||
var isLymph = ReadingYesOrNo.Yes.GetEnumInt();
|
var isLymph = ReadingYesOrNo.Yes.GetEnumInt();
|
||||||
//淋巴结的长短经 为0 非淋巴的 长径0 短径为空
|
|
||||||
if (await _readingTableQuestionAnswerRepository.AnyAsync(x => inDto.MergeRowIdList.Contains(x.RowId) && x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.IsLymph && x.Answer == isLymph))
|
foreach (var item in inDto.MergeRowIdList)
|
||||||
{
|
{
|
||||||
await _readingTableQuestionAnswerRepository.BatchUpdateNoTrackingAsync(x => inDto.MergeRowIdList.Contains(x.RowId) &&
|
//淋巴结的长短经 为0 非淋巴的 长径0 短径为空
|
||||||
|
if (await _readingTableQuestionAnswerRepository.AnyAsync(x => x.RowId==item && x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.IsLymph && x.Answer == isLymph))
|
||||||
|
{
|
||||||
|
await _readingTableQuestionAnswerRepository.BatchUpdateNoTrackingAsync(x => x.RowId == item &&
|
||||||
(x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.MajorAxis || x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.ShortAxis), x => new ReadingTableQuestionAnswer()
|
(x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.MajorAxis || x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.ShortAxis), x => new ReadingTableQuestionAnswer()
|
||||||
{
|
{
|
||||||
Answer = "0",
|
Answer = "0",
|
||||||
|
|
@ -1977,18 +1980,21 @@ namespace IRaCIS.Core.Application.Service
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
await _readingTableQuestionAnswerRepository.BatchUpdateNoTrackingAsync(x => inDto.MergeRowIdList.Contains(x.RowId) &&
|
await _readingTableQuestionAnswerRepository.BatchUpdateNoTrackingAsync(x => x.RowId == item &&
|
||||||
x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.ShortAxis, x => new ReadingTableQuestionAnswer()
|
x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.ShortAxis, x => new ReadingTableQuestionAnswer()
|
||||||
{
|
{
|
||||||
Answer =string.Empty,
|
Answer = string.Empty,
|
||||||
});
|
});
|
||||||
|
|
||||||
await _readingTableQuestionAnswerRepository.BatchUpdateNoTrackingAsync(x => inDto.MergeRowIdList.Contains(x.RowId) &&
|
await _readingTableQuestionAnswerRepository.BatchUpdateNoTrackingAsync(x => x.RowId == item &&
|
||||||
x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.MajorAxis, x => new ReadingTableQuestionAnswer()
|
x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.MajorAxis, x => new ReadingTableQuestionAnswer()
|
||||||
{
|
{
|
||||||
Answer = "0",
|
Answer = "0",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue