From 178ae29cf4c7144a6dfc12b8c47a0e6acded767b Mon Sep 17 00:00:00 2001
From: lige <bestlige@outlook.com>
Date: 星期三, 13 九月 2023 15:11:07 +0800
Subject: [PATCH] 采样

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