From 7cf8f8fc1abca63423c1fb4618363f8a9d283f9d Mon Sep 17 00:00:00 2001
From: 于杰 <1210123631@qq.com>
Date: 星期二, 04 十一月 2025 14:56:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml b/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml
index 0f30a4b..f980401 100644
--- a/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml
@@ -38,15 +38,14 @@
on b.id = c.role_id
left join permission_basic d
on d.id = c.permission_id
- and d.permission='edit'
- where a.id = #{loginId}
+ where a.id = #{loginId} and
</if>
<if test="userIsAdmin==true">
from permission_basic d
- where d.permission='edit'
+ where
</if>
- and d.state = 1
+ d.state = 1
group by d.id
</select>
--
Gitblit v1.8.0