From d80746db3ecfa8380e53321f433665da880c68f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=99=93=E8=BF=AA?= <2596750866@qq.com> Date: Thu, 10 Oct 2024 15:43:32 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E9=94=80=E5=94=AE=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=B5=81=E7=A8=8B=E5=8F=91=E8=B5=B7=E4=BA=BA=E8=A7=92?= =?UTF-8?q?=E8=89=B2service=E6=96=B9=E6=B3=95=EF=BC=8C=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E4=B8=BB=E7=AE=A1=E6=A0=87=E8=AF=86=E4=B8=BA1=EF=BC=8C?= =?UTF-8?q?=E6=80=BB=E7=BB=8F=E7=90=86/=E6=80=BB=E5=8A=A9=E4=B8=BA3?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/service/impl/SysCustomerServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 20d2742f..98755b4e 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 @@ -530,12 +530,10 @@ public class SysCustomerServiceImpl implements ISysCustomerService Set roleKeys = roleService.selectRoleKeys(user.getUserId()); // 角色不同审核人不同 if(roleKeys.contains("zozjRole") || roleKeys.contains("zjlRole") || roleKeys.contains("admin")){ - variables.put("authority",4); - }else if(roleKeys.contains("ywzgRole")){ variables.put("authority",3); }else if(roleKeys.contains("ywjlRole")){ variables.put("authority",2); - }else if(roleKeys.contains("ywyRole")){ + }else if(roleKeys.contains("ywyRole")||roleKeys.contains("ywzgRole")){ variables.put("authority",1); } }