Commit fe4201e7f8f6a6ebd7519d9dcff7ee26f4a1e1f6
1 parent
db2278e17d
Exists in
master
and in
8 other branches
bug fix
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-service/src/main/resources/mainOrm/Permissions.xml
View file @
fe4201e
... | ... | @@ -191,7 +191,7 @@ |
191 | 191 | <select id="queryPermissionByRoleIds1" parameterType="int" resultMap="PermissionsResultMap"> |
192 | 192 | select b.* from role_permission_maps a, permissions b where a.role_id= |
193 | 193 | #{weight,jdbcType=INTEGER} |
194 | - and b.yn=1 and a.yn=1 | |
194 | + and b.yn=1 and a.yn=1 and a.permission_id=b.id; | |
195 | 195 | </select> |
196 | 196 | </mapper> |