fix:用户角色关系增加有效标志位筛选

This commit is contained in:
s2042968 2025-05-26 14:05:34 +08:00
parent 9b775e071f
commit 407e22aabe
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@
where r.id in (select ur.role_id
from ed_users u
left join ed_user_role ur on u.id = ur.user_id
where u.id = #{userId})
where u.id = #{userId} and ur.effect_flag = 1)
</select>
</mapper>