修改最多5条靶病灶
continuous-integration/drone/push Build is running Details

Test_HIR_Net8
he 2025-09-25 16:21:10 +08:00
parent 66e5570d82
commit c4eabde7a9
3 changed files with 14 additions and 14 deletions

View File

@ -151,9 +151,9 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
OverallResult = _generalCalculateService.GetTaskanswer(answerList, dictionList, unitDictionary, x.Id, QuestionType.Tumor), OverallResult = _generalCalculateService.GetTaskanswer(answerList, dictionList, unitDictionary, x.Id, QuestionType.Tumor),
DoctorName = x.DoctorUser.LastName + x.DoctorUser.FirstName, DoctorName = x.DoctorUser.LastName + x.DoctorUser.FirstName,
SignTime = x.SignTime?.ToString("yyyy-MM-dd HH:mm:ss"), SignTime = x.SignTime?.ToString("yyyy-MM-dd HH:mm:ss"),
VisitTargetInfoList = getLesionInfo(LesionType.TargetLesion, x.Id,5), VisitTargetInfoList = getLesionInfo(LesionType.TargetLesion, x.Id),
VisitNoTargetInfoList = getLesionInfo(LesionType.NonTargetLesions, x.Id), VisitNoTargetInfoList = getLesionInfo(LesionType.NonTargetLesions, x.Id),
NewVisitTargetInfoList = getLesionInfo(LesionType.NewTargetLesion, x.Id,5), NewVisitTargetInfoList = getLesionInfo(LesionType.NewTargetLesion, x.Id),
NewNoVisitTargetInfoList = getLesionInfo(LesionType.NewNonTargetLesion, x.Id), NewNoVisitTargetInfoList = getLesionInfo(LesionType.NewNonTargetLesion, x.Id),
}).OrderBy(x => x.VisitNum).ToList(); }).OrderBy(x => x.VisitNum).ToList();

View File

@ -149,19 +149,19 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
num++; num++;
} }
if (lesionType == LesionType.TargetLesion) //if (lesionType == LesionType.TargetLesion)
{ //{
for (int i = num; i <= 5; i++) // for (int i = num; i <= 5; i++)
{ // {
VisitLesionInfo target = new VisitLesionInfo // VisitLesionInfo target = new VisitLesionInfo
{ // {
Number = i, // Number = i,
}; // };
targetInfo.Add(target); // targetInfo.Add(target);
} // }
} //}
return targetInfo; return targetInfo;
} }

View File

@ -112,7 +112,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
OverallResult = _generalCalculateService.GetTaskanswer(answerList, dictionList, unitDictionary, x.Id, QuestionType.Tumor), OverallResult = _generalCalculateService.GetTaskanswer(answerList, dictionList, unitDictionary, x.Id, QuestionType.Tumor),
DoctorName = x.DoctorUser.LastName + x.DoctorUser.FirstName, DoctorName = x.DoctorUser.LastName + x.DoctorUser.FirstName,
SignTime = x.SignTime?.ToString("yyyy-MM-dd HH:mm:ss"), SignTime = x.SignTime?.ToString("yyyy-MM-dd HH:mm:ss"),
VisitTargetInfoList = getLesionInfo(LesionType.TargetLesion, x.Id,5), VisitTargetInfoList = getLesionInfo(LesionType.TargetLesion, x.Id),
VisitNoTargetInfoList = getLesionInfo(LesionType.NonTargetLesions, x.Id), VisitNoTargetInfoList = getLesionInfo(LesionType.NonTargetLesions, x.Id),
}).OrderBy(x => x.VisitNum).ToList(); }).OrderBy(x => x.VisitNum).ToList();