From 7edd4756dd93667c092eae8f16c4f3a9be86330c Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Thu, 31 Oct 2024 17:04:43 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=94=A8=E6=88=B7=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?=E9=80=9A=E8=BF=87=E9=83=A8=E9=97=A8id=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=AF=A5=E9=83=A8=E9=97=A8=E4=B8=8B=E7=9A=84=E6=89=80=E6=9C=89?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8E=E7=AB=AF=E6=96=B9=E6=B3=95=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E6=9F=A5=E8=AF=A2=E5=90=8E=E7=AB=AF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=EF=BC=9A=E9=80=9A=E8=BF=87=E9=83=A8=E9=97=A8=E3=80=81roleKeys?= =?UTF-8?q?=E5=92=8C=E5=BD=93=E5=89=8D=E7=99=BB=E9=99=86=E4=BA=BA=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=EF=BC=9A=205=E7=AE=A1=E7=90=86=E5=91=98admin=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E6=AD=A3=E5=B8=B8=E6=98=BE=E7=A4=BA=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/service/impl/SysCustomerServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java index 5ecfa13b..a0bfa243 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java @@ -109,7 +109,7 @@ public class SysCustomerServiceImpl implements ISysCustomerService Page list = (Page) sysCustomerMapper.selectSysCustomerList(sysCustomer); List filteredList = new ArrayList<>(); String loginName = ShiroUtils.getLoginName(); - if (loginName.equals("gmo_asst01") ||loginName.equals("gmo_gm") ){ + if (loginName.equals("gmo_asst01") ||loginName.equals("gmo_gm") || loginName.equals("admin") ){ filteredList = list; }else { List allowedFullAccessCreators = sysCustomer.getAllowedCreators();