IRC_NewDev
he 2024-04-11 13:36:10 +08:00
parent b65635c41c
commit b39d8dd546
1 changed files with 1 additions and 2 deletions

View File

@ -444,10 +444,9 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
var pet5ps = readingData.QuestionInfo.Where(x => x.QuestionType == QuestionType.PET5PS).Select(x => x.Answer).FirstOrDefault();
GetCanChooseNotMergeOutDto getCanChooseNotMergeOutDto = new GetCanChooseNotMergeOutDto()
GetCanChooseNotMergeOutDto getCanChooseNotMergeOutDto = new GetCanChooseNotMergeOutDto()
{
IsCanChooseNotMerge = !readingData.QuestionInfo.Any(x => questionTypes.Contains(x.QuestionType) && x.Answer != string.Empty)
&& (pet5ps==string.Empty||pet5ps==PET5PSScore.NE.GetEnumInt())
};