|
|
@@ -23,7 +23,7 @@ public interface LifeFansMapper extends BaseMapper<LifeFans> {
|
|
|
" from life_fans " +
|
|
|
" where delete_flag = 0 and fans_id = #{fansId} " +
|
|
|
" ) " +
|
|
|
- " select info.id, info.store_name name, img.img_url image, concat('store_', user.phone) phoneId, info.store_blurb blurb, 1 blockedType,user.id blockedId" +
|
|
|
+ " 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" +
|
|
|
" from follow foll " +
|
|
|
" join store_user user on foll.phone = user.phone " +
|
|
|
" join store_info info on info.id = user.store_id " +
|
|
|
@@ -71,7 +71,7 @@ public interface LifeFansMapper extends BaseMapper<LifeFans> {
|
|
|
" from life_fans " +
|
|
|
" where delete_flag = 0 and followed_id = #{fansId} " +
|
|
|
" ) " +
|
|
|
- " select info.id, info.store_name name, img.img_url image, concat('store_', user.phone) phoneId, info.store_blurb blurb, 1 blockedType,user.id blockedId" +
|
|
|
+ " 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" +
|
|
|
" from follow foll " +
|
|
|
" join store_user user on foll.phone = user.phone " +
|
|
|
" join store_info info on info.id = user.store_id " +
|
|
|
@@ -94,7 +94,7 @@ public interface LifeFansMapper extends BaseMapper<LifeFans> {
|
|
|
" from life_fans " +
|
|
|
" where delete_flag = 0 and followed_id = #{fansId} " +
|
|
|
" ) " +
|
|
|
- " select info.id, info.store_name name, img.img_url image, concat('store_', user.phone) phoneId, info.store_blurb blurb " +
|
|
|
+ " select info.id, info.store_name name, user.head_img image, concat('store_', user.phone) phoneId, info.store_blurb blurb " +
|
|
|
" from follow foll " +
|
|
|
" join store_user user on foll.phone = user.phone " +
|
|
|
" join store_info info on info.id = user.store_id " +
|
|
|
@@ -135,7 +135,7 @@ public interface LifeFansMapper extends BaseMapper<LifeFans> {
|
|
|
" join life_fans fans2 on fans1.followed_id = fans2.fans_id and fans1.fans_id = fans2.followed_id " +
|
|
|
" where fans1.delete_flag = 0 and fans2.delete_flag = 0 and fans1.fans_id = #{fansId} " +
|
|
|
" ) " +
|
|
|
- " select info.id, info.store_name name, img.img_url image, concat('store_', user.phone) phoneId, info.store_blurb blurb, 1 blockedType,user.id blockedId " +
|
|
|
+ " 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 " +
|
|
|
" from follow foll " +
|
|
|
" join store_user user on foll.phone = user.phone " +
|
|
|
" join store_info info on info.id = user.store_id " +
|