From 7b38385c83e3d02d8b7df3f676a667f5c720e707 Mon Sep 17 00:00:00 2001
From: LegnaYet <1023868505@qq.com>
Date: Wed, 29 Apr 2020 19:39:59 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=95=B0=E6=8D=AE=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/resources/mapper/OpCustomerDOMapper.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mapper/OpCustomerDOMapper.xml b/src/main/resources/mapper/OpCustomerDOMapper.xml
index 9874cbb..4af52cd 100644
--- a/src/main/resources/mapper/OpCustomerDOMapper.xml
+++ b/src/main/resources/mapper/OpCustomerDOMapper.xml
@@ -9,19 +9,19 @@
t3.name as vipName,t3.phone as vipPhone, t5.staff_code as sellerCode, t1.create_time as createTime
from op_seller_customer_relation t1
left join poi_store t0 on t0.id = t1.store_id
- left join poi_store_staff t5 ON t5.store_id = t0.id and t1.user_id = t5.id
+ left join poi_store_staff t5 ON 1.user_id = t5.user_id
LEFT JOIN op_customer t2 ON t2.id = t1.customer_id
LEFT JOIN op_vip t3 ON t3.id = t2.member_id
- LEFT JOIN privilage_user t4 ON t4.id = t5.user_id where 1 =1
+ LEFT JOIN privilage_user t4 ON t4.id = t1.user_id
- and t1.store_id in
+ where t1.store_id in
#{item}
- and 1 = 0
+ where 1 = 0