From 2f20856ea3ca6f2f238ba66252164687f47fcd7e Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期二, 21 四月 2026 17:24:11 +0800
Subject: [PATCH] chore(deps): 更新 mybatis-plus 版本到 3.5.15

---
 src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
index 08e16e4..ded48d8 100644
--- a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
@@ -36,11 +36,15 @@
         <where>
             cpp.delete_flag = 0
             <if test="c.customerName != null and c.customerName != ''">
-                and c.customer_name like concat('%', #{c.customerName}, '%')
+                and (c.customer_name like concat('%', #{c.customerName}, '%') or cp.customer_name like concat('%', #{c.customerName}, '%'))
             </if>
-            <if test="c.boundId != null">
+            <if test="c.customerType != null">
+                and c.customer_type = #{c.customerType}
+            </if>
+            <if test="c.bound_id != null">
                 and cpp.bound_id = #{c.boundId}
             </if>
+
         </where>
         order by cpp.id desc
     </select>

--
Gitblit v1.9.3