|
|
@@ -331,7 +331,7 @@
|
|
|
permission
|
|
|
where
|
|
|
super_id = #{superId,jdbcType=VARCHAR}
|
|
|
- and (type = 1 or type = 2)
|
|
|
+ and d.type in (1,2)
|
|
|
</when>
|
|
|
<otherwise>
|
|
|
select
|
|
|
@@ -344,7 +344,7 @@
|
|
|
b.id = c.rid left join permission d on
|
|
|
c.pid = d.id
|
|
|
where
|
|
|
- (d.type = 1 or d.type = 2)
|
|
|
+ d.type in (1,2)
|
|
|
and d.super_id = #{superId,jdbcType=VARCHAR}
|
|
|
and a.uid = #{aid,jdbcType=VARCHAR}
|
|
|
group by d.id
|