|
|
@@ -963,10 +963,16 @@
|
|
|
count(1)
|
|
|
FROM
|
|
|
<![CDATA[ user ]]> u
|
|
|
- LEFT JOIN user_identity ui ON ui.uid = u.id
|
|
|
- LEFT JOIN user_career uc ON uc.uid = u.id
|
|
|
- WHERE
|
|
|
- u.type = 0 and ui.expert = 1
|
|
|
+ right join expert_publish ep on u.id=ep.expert_id
|
|
|
+ LEFT JOIN user_identity ui ON ui.uid = u.id
|
|
|
+ LEFT JOIN user_career uc ON uc.uid = u.id
|
|
|
+ <!-- LEFT JOIN user_info info ON info.uid = u.id -->
|
|
|
+ LEFT JOIN achievement_demand_count adc ON adc.uid = u.id
|
|
|
+ WHERE
|
|
|
+ u.type = 0 and ui.expert = 1
|
|
|
+ and ep.publish_client=0
|
|
|
+ and ep.publish_page='W02'
|
|
|
+ and ep.publish_platform='112461d9-2120-4809-b709-3cb5f5acfcc3'
|
|
|
<if test="null != level and level==1 ">
|
|
|
AND u.lvl <![CDATA[ >= ]]> 1
|
|
|
</if>
|