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); } }