From 285ff92599f9c7e42af704606d1587b5d05d89ca Mon Sep 17 00:00:00 2001 From: lige <bestlige@outlook.com> Date: 星期三, 13 九月 2023 14:53:51 +0800 Subject: [PATCH] 11 --- ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjAsyncServiceImpl.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjAsyncServiceImpl.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjAsyncServiceImpl.java index 859c3fe..4a2a106 100644 --- a/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjAsyncServiceImpl.java +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/TjAsyncServiceImpl.java @@ -1275,6 +1275,9 @@ for (Map.Entry<String, List<TjSampling>> entry : stringListMap.entrySet()) { Map<String,Object>map=new HashMap<>(); TjCustomer customer = tjCustomerService.getById(entry.getKey()); + if (customer==null){ + continue; + } customer.setCusName(hideCusName(customer.getCusName())); customer.setCusPhone(hidePhoneNum(customer.getCusPhone())); customer.setCusIdcard(hideIdCardNum(customer.getCusIdcard())); -- Gitblit v1.8.0