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

---
 src/main/java/com/ruoyi/basic/service/impl/CustomerServiceImpl.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/ruoyi/basic/service/impl/CustomerServiceImpl.java b/src/main/java/com/ruoyi/basic/service/impl/CustomerServiceImpl.java
index eef85aa..827e3a2 100644
--- a/src/main/java/com/ruoyi/basic/service/impl/CustomerServiceImpl.java
+++ b/src/main/java/com/ruoyi/basic/service/impl/CustomerServiceImpl.java
@@ -223,7 +223,7 @@
             throw new RuntimeException("瀹㈡埛妗f涓嬫湁閿�鍞悎鍚岋紝璇峰厛鍒犻櫎閿�鍞悎鍚�");
         }
         // 鏌ヨ鏄惁鏈夊凡鍒嗛厤鐨勫叕娴峰鎴�
-        List<Customer> assignedPools = customerMapper.selectList(
+        /*List<Customer> assignedPools = customerMapper.selectList(
                 new QueryWrapper<Customer>().lambda()
                         .in(Customer::getId, idList)
                         .eq(Customer::getType, 1).
@@ -231,7 +231,7 @@
         );
         if (!assignedPools.isEmpty()) {
             throw new RuntimeException("瀹㈡埛妗f涓嬫湁宸插垎閰嶇殑鍏捣瀹㈡埛锛岃鍏堟敹鍥�");
-        }
+        }*/
         // 鍒犻櫎瀹㈡埛鐨勫悓鏃朵篃闇�瑕佸垹闄ゅ搴旂殑瀹㈡埛璺熼殢銆侀檮浠跺拰鍥炶鎻愰啋
         for (Long id : ids) {
             customerFollowUpService.deleteByCustomerId(id);
@@ -271,11 +271,11 @@
             }
 
             // 鏍规嵁 type 鍙傛暟璁剧疆瀹㈡埛绫诲瀷锛堢娴�/鍏捣锛�
-            if (type != null) {
+            /*if (type != null) {
                 userList.forEach(customer -> {
                     customer.setType(type);
                 });
-            }
+            }*/
             this.saveOrUpdateBatch(userList);
             return R.ok(true);
         } catch (Exception e) {

--
Gitblit v1.9.3