IRC_NewDev
parent
e5f10d052a
commit
682a5d1c44
|
@ -2379,11 +2379,14 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<string> GetTargetLesionEvaluate(ReadingCalculateDto inDto)
|
public async Task<string> GetTargetLesionEvaluate(ReadingCalculateDto inDto)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var rowInfo = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
|
var rowInfo = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
|
||||||
//if (inDto.IsBaseLine)
|
if (inDto.IsBaseLine)
|
||||||
//{
|
{
|
||||||
// return TargetAssessment.NA.GetEnumInt();
|
return TargetAssessment.NA.GetEnumInt();
|
||||||
//}
|
}
|
||||||
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();
|
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();
|
||||||
|
|
||||||
TargetAssessment result = TargetAssessment.SD;
|
TargetAssessment result = TargetAssessment.SD;
|
||||||
|
@ -2486,10 +2489,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
|
|
||||||
NoTargetAssessment result = NoTargetAssessment.PD;
|
NoTargetAssessment result = NoTargetAssessment.PD;
|
||||||
|
|
||||||
//if (inDto.IsBaseLine)
|
if (inDto.IsBaseLine)
|
||||||
//{
|
{
|
||||||
// return NoTargetAssessment.NA.GetEnumInt();
|
return NoTargetAssessment.NA.GetEnumInt();
|
||||||
//}
|
}
|
||||||
|
|
||||||
var tableRows = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NonTargetLesions).SelectMany(x => x.TableRowInfoList).ToList();
|
var tableRows = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NonTargetLesions).SelectMany(x => x.TableRowInfoList).ToList();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue