From 37e2d3c73caac445d1d8e229747b439e3719c13b Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期二, 03 六月 2025 17:04:13 +0800
Subject: [PATCH] zjh20250603

---
 ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml
index 8fbc575..0d64d76 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml
@@ -307,7 +307,7 @@
   JOIN tj_customer c ON o.user_id = c.cus_id
   LEFT JOIN tj_report r ON o.tj_number = r.tj_number
 WHERE
-  c.cus_idcard = #{card} AND c.cus_name = #{name} AND c.deleted = 0
+  c.cus_idcard = #{card} AND c.cus_name = #{name} AND c.deleted = 0 and o.heshou_status = 1
         ORDER BY
         o.create_time DESC
     </select>

--
Gitblit v1.8.0