|
|
@@ -1666,7 +1666,7 @@
|
|
|
left join district_glossory dg2 on d.location_city = dg2.id
|
|
|
left join district_glossory dg3 on d.location_area = dg3.id
|
|
|
left join user_mid um on um.aid=a.aid and um.uid=a.id
|
|
|
- where a.type= 1 and a.source in(1,2,3) and a.share_type in (0,2)
|
|
|
+ where a.type= 1 and a.source in(1,2,3) and a.share_type = 0
|
|
|
<if test="power ==0">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -1726,7 +1726,7 @@
|
|
|
left join user_mid um on um.aid=a.aid and um.uid=a.id
|
|
|
/*inner join (select aid,uid from user_follow uf group by aid,uid) t0
|
|
|
on a.id=t0.uid and a.aid =t0.aid*/
|
|
|
- where a.type= 1 and a.source in(1,2,3) and a.share_type in (0,2)
|
|
|
+ where a.type= 1 and a.source in(1,2,3) and a.share_type = 0
|
|
|
<if test="power ==0">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|