From 33cf60a44d03224cfaaefba12185be7207a7dd8b Mon Sep 17 00:00:00 2001 From: wxd <123@qq.com> Date: Wed, 11 Sep 2024 16:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9A=90=E7=A7=81=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PrintReports/PrintReportAppService.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs b/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs index b9f028e..cbdcbe0 100644 --- a/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs +++ b/src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs @@ -1182,6 +1182,13 @@ namespace Shentun.Peis.PrintReports foreach (var registerCheckId in registerCheckIds) { var registerCheckRows = registerChecklist.Where(o => o.registerCheck.Id == registerCheckId).ToList(); + + //隐藏隐私项目 + if (registerCheckRows.Where(m => m.asbitem.IsPrivacy == 'Y').Count() > 0) + { + continue; + } + var registerCheckRow = registerCheckRows.First(); var medicalReportRegisterCheckDto = new MedicalReportRegisterCheckDto() {