Commit b30ce43249cae26a240652bda250b5858ff1c70a
1 parent
dad6ac6782
Exists in
master
and in
1 other branch
增加
Showing 1 changed file with 2 additions and 1 deletions
platform-biz-service/src/main/resources/mainOrm/Permissions.xml
View file @
b30ce43
... | ... | @@ -189,8 +189,9 @@ |
189 | 189 | and a.permission_id=b.id ORDER BY weight |
190 | 190 | </select> |
191 | 191 | <select id="queryPermissionByRoleIds1" parameterType="int" resultMap="PermissionsResultMap"> |
192 | - select b.* from role_permission_maps a, permissions b where a.yn=1 and b.yn=1 and a.role_id= | |
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 | 195 | </select> |
195 | 196 | </mapper> |