diff --git a/src/main/java/com/kiisoo/ic/customer/bean/FriendDTO.java b/src/main/java/com/kiisoo/ic/customer/bean/FriendDTO.java index fb834c4..43b4165 100644 --- a/src/main/java/com/kiisoo/ic/customer/bean/FriendDTO.java +++ b/src/main/java/com/kiisoo/ic/customer/bean/FriendDTO.java @@ -45,9 +45,9 @@ public class FriendDTO { private Date addTime; /** - * 会员类型 + * 会员标示 */ - private String vipType; + private String vipFlag; /** * 会员头像 diff --git a/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml b/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml index e12231f..1bec19c 100644 --- a/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml +++ b/src/main/resources/mapper/OpSellerCustomerRelationDOMapper.xml @@ -9,7 +9,8 @@ t5.NAME AS inviteSellerName, t4.id AS inviteSellerId, t1.create_time AS addTime, - t6.avatar + t6.avatar, + t3.id as vipFlag FROM op_seller_customer_relation t1, op_customer t2 left join op_vip t3 on t2.member_id = t3.id and t3.status = 1, diff --git a/src/main/resources/mapper/PrivilageUserShopRelationDOMapper.xml b/src/main/resources/mapper/PrivilageUserShopRelationDOMapper.xml index e548c5d..eefe1dd 100644 --- a/src/main/resources/mapper/PrivilageUserShopRelationDOMapper.xml +++ b/src/main/resources/mapper/PrivilageUserShopRelationDOMapper.xml @@ -36,6 +36,7 @@ select t2.id,t2.staff_code as stafferNo,t1.`name`,t3.`name` as shopName,t3.id as storeId from privilage_user t1, poi_store_staff t2, poi_store t3 where t1.id = t2.user_id and t2.`status` = 1 and t2.store_code = t3.`code` + and t1.id = #{userId}