pull/1121/head
梁宇奇 2025-06-18 21:06:42 +08:00
parent acf88d6533
commit 0f68b48896
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class UserExt extends SysUser {
if (StrUtil.isNotEmpty(role.getRoleKey())) {
userExt.roleKeys.add(role.getRoleKey());
}
if (ESystemRole.SELLER.getId().equals(role.getRoleId()) && role.getRelStoreId() != null) {
if (ESystemRole.SUPPLIER.getId().equals(role.getRoleId()) && role.getRelStoreId() != null) {
userExt.managedStoreIds.add(role.getRelStoreId());
}
if (!ESystemRole.isDefaultRole(role.getRoleId()) && role.getStoreId() != null) {