|
|
@@ -108,7 +108,7 @@
|
|
|
where s.hot = 1 and ui.celebrity = 1
|
|
|
</select>
|
|
|
|
|
|
- <select id="listStarList" resultType="com.goafanti.star.bo.HotStarListBo">
|
|
|
+ <select id="listStarList" parameterType="java.lang.String" resultType="com.goafanti.star.bo.HotStarListBo">
|
|
|
select
|
|
|
u.id as uid,
|
|
|
u.number,
|
|
|
@@ -124,6 +124,7 @@
|
|
|
left join user_career uc on uc.uid = s.uid
|
|
|
left join achievement_demand_count adc on adc.uid = s.uid
|
|
|
left join user_info info on info.uid = s.uid
|
|
|
+ left join user_interest interest on interest.to_uid = s.uid and interest.from_uid = #{uid,jdbcType=VARCHAR}
|
|
|
where s.star = 1 and ui.celebrity = 1
|
|
|
</select>
|
|
|
|
|
|
@@ -142,7 +143,7 @@
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
|
- <select id="listBigShotStar" resultType="com.goafanti.star.bo.BigShotStarListBo">
|
|
|
+ <select id="listBigShotStar" parameterType="java.lang.String" resultType="com.goafanti.star.bo.BigShotStarListBo">
|
|
|
select
|
|
|
u.id as uid,
|
|
|
u.number,
|
|
|
@@ -151,13 +152,15 @@
|
|
|
uc.professional_title as professionalTitle,
|
|
|
uc.work_unit as workUnit,
|
|
|
adc.achievement_count as achievementNum,
|
|
|
- info.person_portrait_url as personPortraitUrl
|
|
|
+ info.person_portrait_url as personPortraitUrl,
|
|
|
+ interest.id as interestId
|
|
|
from star s
|
|
|
left join user u on u.id = s.uid
|
|
|
left join user_info info on info.uid = s.uid
|
|
|
left join user_identity ui on ui.uid = s.uid
|
|
|
left join user_career uc on uc.uid = s.uid
|
|
|
left join achievement_demand_count adc on adc.uid = s.uid
|
|
|
+ left join user_interest interest on interest.to_uid = s.uid and interest.from_uid = #{uid,jdbcType=VARCHAR}
|
|
|
where s.hot = 1
|
|
|
</select>
|
|
|
</mapper>
|