update
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user