@ -45,9 +45,9 @@ public class FriendDTO {
private Date addTime;
/**
* 会员类型
* 会员标示
*/
private String vipType;
private String vipFlag;
* 会员头像
@ -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,
@ -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}
</select>
<select id="selectStaffIdByUserId" resultType="java.lang.Long">