按钮权限修改

This commit is contained in:
guoshengxiong 2024-05-31 16:41:07 +08:00
parent f1e9ec8d78
commit afb7e04321

View File

@ -7,8 +7,8 @@
(SELECT count(c.authority_id)
from base_action t
LEFT JOIN base_authority c ON t.action_id=c.action_id
where a.menu_id=t.menu_id)
> 0 ,1,0) hasSubList
where a.menu_id=t.menu_id and c.status=1)
> 0 ,1,0) hasSubList
FROM base_authority a LEFT JOIN base_authority_role b ON a.authority_id=b.authority_id
WHERE a.`status`=1 and b.role_id= #{roleId}
</select>