From e8b7633aeb37c17c753074ce10a304b7c2d34e24 Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期三, 13 九月 2023 16:03:38 +0800
Subject: [PATCH] zjh 2023/09/13---4

---
 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