From afb7e04321b7992f902cab1476d8ee488d951d9f Mon Sep 17 00:00:00 2001 From: guoshengxiong <1923636941@qq.com> Date: Fri, 31 May 2024 16:41:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xmgl/modules/basicdata/mapper/xml/BaseAuthorityMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zhgd/xmgl/modules/basicdata/mapper/xml/BaseAuthorityMapper.xml b/src/main/java/com/zhgd/xmgl/modules/basicdata/mapper/xml/BaseAuthorityMapper.xml index 2eeddda34..ea9e00fd7 100644 --- a/src/main/java/com/zhgd/xmgl/modules/basicdata/mapper/xml/BaseAuthorityMapper.xml +++ b/src/main/java/com/zhgd/xmgl/modules/basicdata/mapper/xml/BaseAuthorityMapper.xml @@ -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}