From 55b12621510e1225fa72fab4856bc73804695499 Mon Sep 17 00:00:00 2001 From: fshenye <512914587@qq.com> Date: Mon, 10 Oct 2022 17:41:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=A4=84=E7=90=86=E7=A9=BA=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stc/sict/theme/hpgp/service/impl/HpHzjlServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smart-health-modules/theme-schema/src/main/java/cn/sh/stc/sict/theme/hpgp/service/impl/HpHzjlServiceImpl.java b/smart-health-modules/theme-schema/src/main/java/cn/sh/stc/sict/theme/hpgp/service/impl/HpHzjlServiceImpl.java index 66a59bb..8541888 100644 --- a/smart-health-modules/theme-schema/src/main/java/cn/sh/stc/sict/theme/hpgp/service/impl/HpHzjlServiceImpl.java +++ b/smart-health-modules/theme-schema/src/main/java/cn/sh/stc/sict/theme/hpgp/service/impl/HpHzjlServiceImpl.java @@ -97,7 +97,9 @@ public class HpHzjlServiceImpl extends ServiceImpl impleme .eq(HpDocInfo::getResourceName, r.getZzysxm()) .last("limit 1"); HpDocInfo one = hpDocInfoService.getOne(dw); - doctorList.add(one); + if(ObjectUtil.isNotNull(one)){ + doctorList.add(one); + } }); } return doctorList; -- 2.22.0