From 0f68b48896bf8cb22ebc6d5488203d024e4aca4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E5=AE=87=E5=A5=87?= Date: Wed, 18 Jun 2025 21:06:42 +0800 Subject: [PATCH] fix --- .../main/java/com/ruoyi/common/core/domain/model/UserExt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/model/UserExt.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/model/UserExt.java index 57a350cb9..7ada8fc03 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/model/UserExt.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/model/UserExt.java @@ -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) {