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