From 7abd419d8cf9ef7d9fd2c9bdc85d3c2e13e2dc1a Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 25 十月 2023 10:27:50 +0800 Subject: [PATCH] fix 修复 commmons-io 的版本限制 导致的各种问题 回滚 poi 版本 --- ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/GlobalException.java | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/GlobalException.java b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/GlobalException.java index 6b404e6..76b1265 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/GlobalException.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/exception/GlobalException.java @@ -1,5 +1,10 @@ package org.dromara.common.core.exception; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + import java.io.Serial; /** @@ -7,6 +12,10 @@ * * @author ruoyi */ +@Data +@EqualsAndHashCode(callSuper = true) +@NoArgsConstructor +@AllArgsConstructor public class GlobalException extends RuntimeException { @Serial @@ -21,12 +30,6 @@ * 閿欒鏄庣粏锛屽唴閮ㄨ皟璇曢敊璇� */ private String detailMessage; - - /** - * 绌烘瀯閫犳柟娉曪紝閬垮厤鍙嶅簭鍒楀寲闂 - */ - public GlobalException() { - } public GlobalException(String message) { this.message = message; -- Gitblit v1.9.3