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