|
|
@@ -2445,8 +2445,8 @@ inner join(
|
|
|
group by b.uid )t0 on a.id=t0.uid
|
|
|
</if>
|
|
|
where a.`type` =1 and a.status =0
|
|
|
- and a.aid = #{aid}
|
|
|
<if test="type==0">
|
|
|
+ and a.aid = #{aid}
|
|
|
and a.share_type in (0,2,4)
|
|
|
</if>
|
|
|
<if test="name != null">
|
|
|
@@ -2472,9 +2472,9 @@ inner join(
|
|
|
group by b.uid )t0 on a.id=t0.uid
|
|
|
</if>
|
|
|
where a.`type` =1 and a.status =0
|
|
|
- and a.aid = #{aid}
|
|
|
<if test="type==0">
|
|
|
- and a.share_type in (0,2,4)
|
|
|
+ and a.share_type in (0,2,4)
|
|
|
+ and a.aid = #{aid}
|
|
|
</if>
|
|
|
<if test="name != null">
|
|
|
and a.nickname like concat('%',#{name},'%')
|