From e807e793884fbee0e285b015a161ddbc46a36e70 Mon Sep 17 00:00:00 2001
From: LegnaYet <1023868505@qq.com>
Date: Tue, 5 May 2020 12:35:32 +0800
Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E5=BA=97=E5=8F=B7=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/OpSellerCustomerRelationDOMapper.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml b/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml
index 74cbbc2..f0e19f7 100644
--- a/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml
+++ b/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml
@@ -6,7 +6,7 @@
DISTINCT
t2.NAME AS customerName,
t2.id AS customerId,
- t2.phone AS mobile,
+ IFNULL(t3.phone,'') AS mobile,
t5.NAME AS inviteSellerName,
t4.id AS inviteSellerId,
t1.create_time AS addTime,
@@ -49,7 +49,7 @@
DISTINCT
t2.NAME AS customerName,
t2.id AS customerId,
- t3.phone AS mobile,
+ IFNULL(t3.phone,'') AS mobile,
t1.user_id AS inviteSellerId,
t1.create_time AS addTime,
t2.avatar_url as avatar,
@@ -89,7 +89,7 @@
SELECT t1.NAME from privilage_user t1, poi_store_staff t2 where t1.id = t2.user_id AND t2.id = #{id} AND t2.type = 4