刘小明
2024-07-09 4453a29ff7bbfc8c7f9c4024f956fdf9fe8548bf
pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml
@@ -46,8 +46,8 @@
    </if>
  </select>
  <select id="selectPrivilegeByRoleId" resultType="Integer">
    select p.num
  <select id="selectPrivilegeByRoleId" resultType="Long">
    select p.id
    from ba_privilege p
    inner join ba_role_privilege rp on p.id = rp.privilege_id
    <if test="roleId != null">