|
|
@@ -382,20 +382,20 @@ where x.audit_status = 3
|
|
|
and bi.domain_name like "%"#{url,jdbcType=VARCHAR}"%"
|
|
|
</if>
|
|
|
<if test="category == 7"> <!-- 智者 -->
|
|
|
- select
|
|
|
- u.id,i.username,u.ability_label as abilityLabel,
|
|
|
- u.introduction as achievement,u.head_portrait_url as headPortraitUrl,u.type,i.expert
|
|
|
- from `user` u
|
|
|
- left join user_ability ua on u.id=ua.uid
|
|
|
- left join user_career c on u.id=c.uid
|
|
|
- left join user_identity i on u.id=i.uid
|
|
|
- right join expert_publish ep on ep.expert_id=u.id
|
|
|
- left join branch_information bi on bi.id=ep.publish_platform
|
|
|
- WHERE
|
|
|
- u.type = 0 and
|
|
|
- i.expert = 1
|
|
|
- and ep.publish_client='0'
|
|
|
- and ep.publish_page='W01'
|
|
|
+ select
|
|
|
+ u.id,i.username,ua.ability_label as abilityLabel,
|
|
|
+ u.introduction as achievement,u.head_portrait_url as headPortraitUrl,u.type,i.expert
|
|
|
+ from `user` u
|
|
|
+ left join user_ability ua on u.id=ua.uid
|
|
|
+ left join user_career c on u.id=c.uid
|
|
|
+ left join user_identity i on u.id=i.uid
|
|
|
+ right join expert_publish ep on ep.expert_id=u.id
|
|
|
+ left join branch_information bi on bi.id=ep.publish_platform
|
|
|
+ WHERE
|
|
|
+ u.type = 0 and
|
|
|
+ i.expert = 1
|
|
|
+ and ep.publish_client='0'
|
|
|
+ and ep.publish_page='W01'
|
|
|
and bi.domain_name like "%"#{url,jdbcType=VARCHAR}"%"
|
|
|
|
|
|
</if>
|