From 4d1f7143f73456c142fd532248a6327021d04de8 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期一, 29 九月 2025 18:17:45 +0800
Subject: [PATCH] crm的bug修改

---
 ruoyi-system/src/main/resources/mapper/system/TCrmDeviceMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TCrmDeviceMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TCrmDeviceMapper.xml
index 226b36b..c32ee5e 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TCrmDeviceMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TCrmDeviceMapper.xml
@@ -30,6 +30,9 @@
             <if test="query.deviceCode != null and query.deviceCode != ''">
                 and tcd.device_code LIKE concat('%',#{query.deviceCode},'%')
             </if>
+            <if test="query.clinicName != null and query.clinicName != ''">
+                and tcc.clinic_name LIKE concat('%',#{query.clinicName},'%')
+            </if>
             AND tcd.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
         </where>
         ORDER BY tcd.create_time DESC

--
Gitblit v1.7.1