From 08e40b611b2bdc97361d4a6d753b788b83818623 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 05 一月 2025 23:00:56 +0800 Subject: [PATCH] fix 修复 数据权限 多角色多注解包含忽略权限标识符逻辑不正确问题 --- ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/base/BaseException.java | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/base/BaseException.java b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/base/BaseException.java index 28acafd..40ce01b 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/base/BaseException.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/base/BaseException.java @@ -1,5 +1,6 @@ package org.dromara.common.core.exception.base; +import lombok.AllArgsConstructor; import org.dromara.common.core.utils.MessageUtils; import org.dromara.common.core.utils.StringUtils; import lombok.Data; @@ -16,6 +17,7 @@ @Data @EqualsAndHashCode(callSuper = true) @NoArgsConstructor +@AllArgsConstructor public class BaseException extends RuntimeException { @Serial @@ -40,13 +42,6 @@ * 閿欒娑堟伅 */ private String defaultMessage; - - public BaseException(String module, String code, Object[] args, String defaultMessage) { - this.module = module; - this.code = code; - this.args = args; - this.defaultMessage = defaultMessage; - } public BaseException(String module, String code, Object[] args) { this(module, code, args, null); -- Gitblit v1.9.3