修改
This commit is contained in:
@@ -402,7 +402,7 @@ namespace IRaCIS.Application.Services
|
||||
TrialReadingCriterionId = indto.ReadingQuestionCriterionTrialId,
|
||||
});
|
||||
|
||||
var relation = relationList.Where(x => x.QuestionId == indto.Id).FirstOrDefault();
|
||||
var relation = relationList.FirstOrDefault(x => x.QuestionId == indto.Id);
|
||||
List<CalculateInfo> calculateInfoList = new List<CalculateInfo>();
|
||||
try
|
||||
{
|
||||
@@ -414,7 +414,7 @@ namespace IRaCIS.Application.Services
|
||||
|
||||
|
||||
}
|
||||
|
||||
relation.CalculateQuestionList = calculateInfoList;
|
||||
this.VerifyCalculateRelation(relationList, indto.Id.Value, indto.Id.Value);
|
||||
}
|
||||
|
||||
@@ -629,7 +629,7 @@ namespace IRaCIS.Application.Services
|
||||
ReadingQuestionId = indto.ReadingQuestionId,
|
||||
});
|
||||
|
||||
var relation = relationList.Where(x => x.QuestionId == indto.Id).FirstOrDefault();
|
||||
var relation = relationList.FirstOrDefault(x => x.QuestionId == indto.Id);
|
||||
List<CalculateInfo> calculateInfoList = new List<CalculateInfo>();
|
||||
try
|
||||
{
|
||||
@@ -641,7 +641,7 @@ namespace IRaCIS.Application.Services
|
||||
|
||||
|
||||
}
|
||||
|
||||
relation.CalculateQuestionList = calculateInfoList;
|
||||
this.VerifyCalculateRelation(relationList, indto.Id.Value, indto.Id.Value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user