From 05fc82b8f00243bc847f061cce9ae2e373508ac5 Mon Sep 17 00:00:00 2001 From: WenYongbin <1977763549@qq.com> Date: Mon, 20 Apr 2026 17:09:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=20=E5=88=A4=E6=96=AD=E4=B8=BB=E9=94=AE?= =?UTF-8?q?=E9=9B=86=E5=90=88=E6=98=AF=E5=90=A6=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/ReportCollectServiceImpl.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/java/com/docus/server/gdszyzh/service/impl/ReportCollectServiceImpl.java b/src/main/java/com/docus/server/gdszyzh/service/impl/ReportCollectServiceImpl.java index 76002a7..be72991 100644 --- a/src/main/java/com/docus/server/gdszyzh/service/impl/ReportCollectServiceImpl.java +++ b/src/main/java/com/docus/server/gdszyzh/service/impl/ReportCollectServiceImpl.java @@ -52,6 +52,9 @@ public class ReportCollectServiceImpl implements ReportCollectService { @Override public void collectPacs(List patientIds) { + if(Func.isEmpty(patientIds)){ + return; + } List basicList = tBasicMapper.getTbasicByPatientIds(patientIds); for (TBasic basic : basicList) { collectPacs(basic); @@ -60,6 +63,9 @@ public class ReportCollectServiceImpl implements ReportCollectService { @Override public void collectLis(List patientIds) { + if(Func.isEmpty(patientIds)){ + return; + } List basicList = tBasicMapper.getTbasicByPatientIds(patientIds); for (TBasic basic : basicList) { collectLis(basic); @@ -68,6 +74,9 @@ public class ReportCollectServiceImpl implements ReportCollectService { @Override public void collectEcg(List patientIds) { + if(Func.isEmpty(patientIds)){ + return; + } List basicList = tBasicMapper.getTbasicByPatientIds(patientIds); for (TBasic basic : basicList) { collectEcg(basic); @@ -76,6 +85,9 @@ public class ReportCollectServiceImpl implements ReportCollectService { @Override public void collectShouMa(List patientIds) { + if(Func.isEmpty(patientIds)){ + return; + } List basicList = tBasicMapper.getTbasicByPatientIds(patientIds); for (TBasic basic : basicList) { collectShouMa(basic); @@ -84,6 +96,9 @@ public class ReportCollectServiceImpl implements ReportCollectService { @Override public void collectIcu(List patientIds) { + if(Func.isEmpty(patientIds)){ + return; + } List basicList = tBasicMapper.getTbasicByPatientIds(patientIds); for (TBasic basic : basicList) { collectIcu(basic);