From d95a81d72bda6fa94bffed357983eb1a4ee94019 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 06 六月 2026 11:59:53 +0800
Subject: [PATCH] fix: 客户档案改成一个,不区分公海私海

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

diff --git a/src/main/resources/mapper/basic/CustomerMapper.xml b/src/main/resources/mapper/basic/CustomerMapper.xml
index 99a5a28..c9be760 100644
--- a/src/main/resources/mapper/basic/CustomerMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerMapper.xml
@@ -33,11 +33,11 @@
                 and customer_type = #{c.customerType}
             </if>
             <!-- 鍏捣鏌ヨ锛歵ype = 1锛堝叕娴峰鎴凤級-->
-            <if test="c.type != null and c.type == 1">
+            <!--<if test="c.type != null and c.type == 1">
                 and type = #{c.type}
-            </if>
+            </if>-->
             <!-- 绉佹捣鏌ヨ锛歵ype = 0锛堢娴峰鎴凤級鎴栬�� type = 1锛堝叕娴峰鎴凤級涓斿凡琚垎閰嶏紝骞朵笖鏄嚜宸遍鐢ㄣ�佽嚜宸卞垱寤烘垨鑰呭叡浜粰鑷繁鐨勫鎴� -->
-            <if test="c.type != null and c.type == 0">
+            <!--<if test="c.type != null and c.type == 0">
                 and (
                     (type = #{c.type} or (type = 1 and is_assigned = 1))
                     and (
@@ -50,7 +50,7 @@
                         )
                     )
                 )
-            </if>
+            </if>-->
         </where>
     </select>
 
@@ -87,11 +87,11 @@
                 and customer_type = #{c.customerType}
             </if>
             <!-- 鍏捣鏌ヨ锛歵ype = 1锛堝叕娴峰鎴凤級-->
-            <if test="c.type != null and c.type == 1">
+            <!--<if test="c.type != null and c.type == 1">
                 and type = #{c.type}
-            </if>
+            </if>-->
             <!-- 绉佹捣鏌ヨ锛歵ype = 0锛堢娴峰鎴凤級鎴栬�� type = 1锛堝叕娴峰鎴凤級涓斿凡琚垎閰嶏紝骞朵笖鏄嚜宸遍鐢ㄣ�佽嚜宸卞垱寤烘垨鑰呭叡浜粰鑷繁鐨勫鎴� -->
-            <if test="c.type != null and c.type == 0">
+            <!--<if test="c.type != null and c.type == 0">
                 and (
                     (type = #{c.type} or (type = 1 and is_assigned = 1))
                     and (
@@ -104,7 +104,7 @@
                         )
                     )
                 )
-            </if>
+            </if>-->
         </where>
     </select>
 

--
Gitblit v1.9.3