From 2804e4f6eb968c159a9234cb80c744ced8ea806c Mon Sep 17 00:00:00 2001 From: wxd <123@qq.com> Date: Mon, 4 Nov 2024 10:51:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E6=A3=80=E9=A1=B9=E7=9B=AE=E5=8E=BB?= =?UTF-8?q?=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OccupationalDiseaseReportAppService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Shentun.Peis.Application/OccupationalDiseaseReports/OccupationalDiseaseReportAppService.cs b/src/Shentun.Peis.Application/OccupationalDiseaseReports/OccupationalDiseaseReportAppService.cs index f8a6400..0829a67 100644 --- a/src/Shentun.Peis.Application/OccupationalDiseaseReports/OccupationalDiseaseReportAppService.cs +++ b/src/Shentun.Peis.Application/OccupationalDiseaseReports/OccupationalDiseaseReportAppService.cs @@ -638,7 +638,7 @@ namespace Shentun.Peis.OccupationalDiseaseReports IdNo = s.FirstOrDefault().idNo, PatientName = s.Key.PatientName, PatientRegisterNo = s.Key.PatientRegisterNo, - UnCheckAsbitemName = string.Join("、", s.Select(ss => ss.asbitemName)), + UnCheckAsbitemName = string.Join("、", s.Select(ss => ss.asbitemName).Distinct()), Age = s.Key.Age == null ? "" : s.Key.Age.ToString(), JobType = s.FirstOrDefault().jobType, MedicalStartDate = DataHelper.ConversionDateShortToString(s.Key.MedicalStartDate), @@ -661,7 +661,7 @@ namespace Shentun.Peis.OccupationalDiseaseReports IdNo = s.FirstOrDefault().idNo, PatientName = s.Key.PatientName, PatientRegisterNo = s.Key.PatientRegisterNo, - UnCheckAsbitemName = string.Join("、", s.Select(ss => ss.asbitemName)), + UnCheckAsbitemName = string.Join("、", s.Select(ss => ss.asbitemName).Distinct()), Age = s.Key.Age == null ? "" : s.Key.Age.ToString(), JobType = s.FirstOrDefault().jobType, MedicalStartDate = DataHelper.ConversionDateShortToString(s.Key.MedicalStartDate),