导出修改

Uat_IRC_Net10
he 2026-08-05 12:11:04 +08:00
parent efe2e7f063
commit 63b9f4e775
2 changed files with 12 additions and 4 deletions

View File

@ -449,8 +449,14 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
VisitTaskId = inDto.VisitTaskId VisitTaskId = inDto.VisitTaskId
}); });
targetSegmentAnswer = string.Join(",", targetSegmentData targetSegmentAnswer = string.Join(",", targetSegmentData
.Where(x =>x.BodyPartForEdit.IsNotNullOrEmpty()) .Where(x => x.BodyPartForEdit.IsNotNullOrEmpty())
.Select(x => x.BodyPartForEdit)); .SelectMany(x => x.BodyPartForEdit.Split('|'))
.Where(s => !string.IsNullOrWhiteSpace(s))
.Distinct());
} }

View File

@ -306,8 +306,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
VisitTaskId = inDto.VisitTaskId VisitTaskId = inDto.VisitTaskId
}); });
targetSegmentAnswer = string.Join(",", targetSegmentData targetSegmentAnswer = string.Join(",", targetSegmentData
.Where(x => x.BodyPartForEdit.IsNotNullOrEmpty()) .Where(x => x.BodyPartForEdit.IsNotNullOrEmpty())
.Select(x => x.BodyPartForEdit)); .SelectMany(x => x.BodyPartForEdit.Split('|'))
.Where(s => !string.IsNullOrWhiteSpace(s))
.Distinct());
} }