This commit is contained in:
zhangchenbiao
2023-06-30 17:21:22 +08:00
parent 5736c4565a
commit eabbfd7310
2 changed files with 3 additions and 1 deletions

View File

@@ -126,7 +126,7 @@
from
sys_role r inner join enterprise_user_role e on r.role_id = e.role_id
where
e.user_id = #{userId} and r.deleted = 0
e.user_id = #{userId} and r.deleted = 0 and e.deleted = 0
limit 1
</select>