|
|
@@ -1060,8 +1060,8 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="findConsultantListByPage" resultType="com.goafanti.app.bo.consultantListBo">
|
|
|
- select t.uid as id,t.username as username ,u.head_portrait_url as headPortraitUrl,u.introduction ,
|
|
|
- t.expert as consultant,t.celebrity,ifnull(x.n,0) as reservationCount
|
|
|
+ select t.uid as id,t.username as username ,u.head_portrait_url as headPortraitUrl,u.introduction ,
|
|
|
+ t.expert as consultant,ifnull(x.n,0) as reservationCount
|
|
|
from user_identity t
|
|
|
left join `user` u on t.uid=u.id
|
|
|
left join ( select y.x as n, y.seller_id
|
|
|
@@ -1083,8 +1083,8 @@
|
|
|
|
|
|
|
|
|
<select id="selectconsultantByUid" parameterType="java.lang.String" resultType="com.goafanti.app.bo.consultantListBo">
|
|
|
- select
|
|
|
- t.uid as id ,t.username as username ,t.consultant,u.head_portrait_url as headPortraitUrl,
|
|
|
+ select
|
|
|
+ t.uid as id ,t.username as username ,t.expert as consultant,u.head_portrait_url as headPortraitUrl,
|
|
|
u.introduction,ifnull(o.x,0) as reservationCount,j.easemob_name as easemobName
|
|
|
from user_identity t
|
|
|
left join user u on t.uid =u.id
|