计算修改

Uat_IRC_Net8
he 2025-01-08 17:09:17 +08:00
parent c87c724685
commit 17fd46c2dc
2 changed files with 21 additions and 1 deletions

View File

@ -17566,6 +17566,26 @@
医院
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.EmploymentInfo.UniversityAffiliated">
<summary>
大学
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.EmploymentInfo.UniversityAffiliatedCN">
<summary>
大学
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.EmploymentInfo.HospitalName">
<summary>
医院
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.EmploymentInfo.HospitalNameCN">
<summary>
医院
</summary>
</member>
<member name="P:IRaCIS.Application.Contracts.AddDoctorCriterionFileDto.FileName">
<summary>
文件名称

View File

@ -602,7 +602,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
var tableQuestionList = rowInfo.Where(x=>x.TableQuestionList.Any(x=>x.QuestionMark== QuestionMark.IsMeasurable && x.Answer.EqEnum(YesOrNoOrNa.Yes))).SelectMany(x => x.TableQuestionList).ToList();
if (rowInfo.Where(x => x.TableQuestionList.Any(x => x.QuestionMark == QuestionMark.AverageValue && x.Answer.IsNotNullOrEmpty())).SelectMany(x => x.TableQuestionList).ToList().Count() != 8)
if (rowInfo.Where(x => x.TableQuestionList.Any(x => x.QuestionMark == QuestionMark.AverageValue && x.Answer.IsNullOrEmpty())).SelectMany(x => x.TableQuestionList).ToList().Count() == 8)
{
return string.Empty;
}