|
|
@@ -72,12 +72,12 @@ public interface LifeFansMapper extends BaseMapper<LifeFans> {
|
|
|
" from life_fans " +
|
|
|
" where delete_flag = 0 and followed_id = #{fansId} " +
|
|
|
" ) " +
|
|
|
- " select info.id, info.store_name name, user.head_img image, concat('store_', user.phone) phoneId, info.store_blurb blurb, 1 blockedType,user.id blockedId" +
|
|
|
+ " select user.id, user.nick_name name, user.head_img image, concat('store_', user.phone) phoneId, user.account_blurb blurb, 1 blockedType,user.id blockedId" +
|
|
|
" from follow foll " +
|
|
|
" join store_user user on foll.phone = user.phone " +
|
|
|
- " join store_info info on info.id = user.store_id " +
|
|
|
- " left join store_img img on img.store_id = user.store_id and img.img_type = '10' and img.delete_flag = 0 " +
|
|
|
- " where foll.flag = 'store' and user.delete_flag = 0 and info.delete_flag = 0 " +
|
|
|
+// " join store_info info on info.id = user.store_id " +
|
|
|
+// " left join store_img img on img.store_id = user.store_id and img.img_type = '10' and img.delete_flag = 0 " +
|
|
|
+ " where foll.flag = 'store' and user.delete_flag = 0" +
|
|
|
" union " +
|
|
|
" select user.id, user.user_name name, user.user_image image, concat('user_', user.user_phone) phoneId, user.jianjie blurb, 2 blockedType,user.id blockedId" +
|
|
|
" from follow foll " +
|