修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e954ea8538
commit
209d932757
|
@ -814,13 +814,13 @@ 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)
|
||||||
{
|
{
|
||||||
var question = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == taskinfo.TrialReadingCriterionId && x.LesionType == x.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();
|
||||||
if (organ != null)
|
if (organ != null)
|
||||||
{
|
{
|
||||||
var newOrgan = await _organInfoRepository.Where(x => x.SystemCriterionId == trialReadingCriterion.ReadingQuestionCriterionSystemId &&
|
var newOrgan = await _organInfoRepository.Where(x => x.SystemCriterionId == trialReadingCriterion.ReadingQuestionCriterionSystemId &&
|
||||||
x.Classification == organ.TULOC &&
|
x.Classification == organ.Classification &&
|
||||||
x.Part == organ.Part &&
|
x.Part == organ.Part &&
|
||||||
x.TULOC == organ.TULOC &&
|
x.TULOC == organ.TULOC &&
|
||||||
x.TULAT == organ.TULAT &&
|
x.TULAT == organ.TULAT &&
|
||||||
|
|
Loading…
Reference in New Issue