Test_IRC_Net8
parent
0d26daa3b0
commit
9fa73705ba
|
@ -823,6 +823,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
var tableQuestionList = await _readingTableQuestionTrialRepository.Where(x => x.TrialCriterionId == taskinfo.TrialReadingCriterionId).ToListAsync();
|
var tableQuestionList = await _readingTableQuestionTrialRepository.Where(x => x.TrialCriterionId == taskinfo.TrialReadingCriterionId).ToListAsync();
|
||||||
foreach (var rowInfo in tableRowAnswers)
|
foreach (var rowInfo in tableRowAnswers)
|
||||||
{
|
{
|
||||||
|
rowInfo.ReportMark = rowInfo.RowMark;
|
||||||
var question = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == taskinfo.TrialReadingCriterionId && x.LesionType == rowInfo.LesionType).FirstOrDefaultAsync();
|
var question = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == taskinfo.TrialReadingCriterionId && x.LesionType == rowInfo.LesionType).FirstOrDefaultAsync();
|
||||||
|
|
||||||
var organ = await _organInfoRepository.Where(x => x.Id == rowInfo.OrganInfoId).FirstOrDefaultAsync();
|
var organ = await _organInfoRepository.Where(x => x.Id == rowInfo.OrganInfoId).FirstOrDefaultAsync();
|
||||||
|
@ -895,6 +896,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
// 添加 典型肝内病灶 默认值
|
// 添加 典型肝内病灶 默认值
|
||||||
tableRowAnswers.ForEach(x =>
|
tableRowAnswers.ForEach(x =>
|
||||||
{
|
{
|
||||||
|
|
||||||
var tableQuestion = tableQuestionList.Where(y => y.ReadingQuestionId == x.QuestionId && y.QuestionMark == QuestionMark.TypicalIntrahepaticLesion).FirstOrDefault();
|
var tableQuestion = tableQuestionList.Where(y => y.ReadingQuestionId == x.QuestionId && y.QuestionMark == QuestionMark.TypicalIntrahepaticLesion).FirstOrDefault();
|
||||||
if (tableQuestion != null)
|
if (tableQuestion != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue