Compare commits
No commits in common. "86a3f1d2a51db2ec9127bb88860bca70f5e9947a" and "7523f646fe2f59f66cca6aefbd840730f3a853e9" have entirely different histories.
86a3f1d2a5
...
7523f646fe
|
|
@ -450,12 +450,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
var visitTaskName = alldata.VisitTaskList.Select(x => x.BlindName).ToList();
|
var visitTaskName = alldata.VisitTaskList.Select(x => x.BlindName).ToList();
|
||||||
var length = alldata.VisitTaskList.Count();
|
var length = alldata.VisitTaskList.Count();
|
||||||
|
|
||||||
// -1转为空
|
|
||||||
List<QuestionType?> negativeToString = new List<QuestionType?>()
|
|
||||||
{
|
|
||||||
QuestionType.DaysBetween,
|
|
||||||
};
|
|
||||||
|
|
||||||
async Task<GetReadingReportEvaluationOutDto> GetData(List<Arm> arms)
|
async Task<GetReadingReportEvaluationOutDto> GetData(List<Arm> arms)
|
||||||
{
|
{
|
||||||
var data = new GetReadingReportEvaluationOutDto() { };
|
var data = new GetReadingReportEvaluationOutDto() { };
|
||||||
|
|
@ -574,13 +568,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
Name = item?.QuestionName??string.Empty,
|
Name = item?.QuestionName??string.Empty,
|
||||||
Value = itemdata?.Answer?.Select(a => a.Answer).ToList() ?? new List<string>()
|
Value = itemdata?.Answer?.Select(a => a.Answer).ToList() ?? new List<string>()
|
||||||
};
|
};
|
||||||
if (negativeToString.Contains(item.QuestionType))
|
|
||||||
{
|
|
||||||
cd.Value.ForEach(item1 =>
|
|
||||||
{
|
|
||||||
item1 = item1 == "-1" ? string.Empty : item1;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
chartList.Add(cd);
|
chartList.Add(cd);
|
||||||
}
|
}
|
||||||
groups.Add(new ChartItem
|
groups.Add(new ChartItem
|
||||||
|
|
@ -640,10 +627,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
result.QuestionCharts.AddRange(r2Groups);
|
result.QuestionCharts.AddRange(r2Groups);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (criterion.CriterionType == CriterionType.PCWG3)
|
|
||||||
{
|
|
||||||
result.TargetCharts = new List<ChartItem>() { };
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue