|
|
@@ -1703,7 +1703,7 @@
|
|
|
on b.location_city=c1.id left join district_glossory c2
|
|
|
on b.location_area=c2.id left join industry_category d on b.industry = d.id
|
|
|
<if test="follow !=null and follow!=''">
|
|
|
- left join (select aid,uid,contact_type from user_follow where aid= #{aid,jdbcType=VARCHAR} group by uid) e on a.id=e.uid and a.aid=e.aid
|
|
|
+ left join (select aid,uid,contact_type from user_follow where aid= #{aid,jdbcType=VARCHAR} and contact_type=0 GROUP by uid) e on a.id=e.uid and a.aid=e.aid
|
|
|
</if>
|
|
|
where a.status=0
|
|
|
and a.information_maintainer = #{aid,jdbcType=VARCHAR}
|