From 74b1e3fc8cc34f015502544cce2def2bbf424293 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 20 四月 2026 09:52:13 +0800
Subject: [PATCH] feat:生产-基础

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

diff --git a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
index 08e16e4..5fc2c24 100644
--- a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
@@ -36,10 +36,10 @@
         <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">
-                and cpp.bound_id = #{c.boundId}
+            <if test="c.customerType != null">
+                and c.customer_type = #{c.customerType}
             </if>
         </where>
         order by cpp.id desc

--
Gitblit v1.9.3