Commit 742ecbb8600fbf67b6a67b9ec6af22c34db7e07e

Authored by zhangrui

Merge remote-tracking branch 'origin/master'

Showing 1 changed file

platform-biz-service/src/main/resources/mainOrm/Permissions.xml View file @ 742ecbb
... ... @@ -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>