|
|
@@ -23,7 +23,8 @@ public interface LifeFansMapper extends BaseMapper<LifeFans> {
|
|
|
" from life_fans " +
|
|
|
" where delete_flag = 0 and fans_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 info.id, IF(info.store_application_status = 0, user.nick_name, info.store_name) AS NAME," +
|
|
|
+ " user.head_img image, concat('store_', user.phone) phoneId, IF(info.store_application_status = 0, user.account_blurb, info.store_blurb) AS 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 " +
|