修改警告
This commit is contained in:
+3
-3
@@ -231,10 +231,10 @@ namespace IRaCIS.Application.Services
|
||||
ArmEnum = taskInfo.ArmEnum,
|
||||
VisitNum = x.SourceSubjectVisit.VisitNum,
|
||||
IsBaseLine = x.SourceSubjectVisit.IsBaseLine,
|
||||
VisitId = x.SourceSubjectVisitId.Value,
|
||||
VisitId = x.SourceSubjectVisitId!.Value,
|
||||
LesionCountList=x.LesionList.GroupBy(y=>y.ReadingQuestionTrial.LesionType).Select(x => new LesionDto
|
||||
{
|
||||
LesionType = x.Key.Value,
|
||||
LesionType = x.Key!.Value,
|
||||
Count = x.ToList().Count()
|
||||
}).ToList(),
|
||||
//CrterionDictionaryGroup= x.CrterionDictionaryGroup,
|
||||
@@ -342,7 +342,7 @@ namespace IRaCIS.Application.Services
|
||||
var globalAnswer = globalAnswers.Where(z => z.QuestionId == y.QuestionId&&z.TaskId==x.VisitTaskId).Select(z => z.Answer).FirstOrDefault();
|
||||
if (!globalAnswer.IsNullOrEmpty())
|
||||
{
|
||||
y.Answer = globalAnswer;
|
||||
y.Answer = globalAnswer??string.Empty;
|
||||
y.IsGlobalAnswer = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user