From 61f41b936c46a601ed75197d281f918af4d105d4 Mon Sep 17 00:00:00 2001 From: lbw Date: Tue, 7 Jun 2022 09:46:17 +0800 Subject: [PATCH] :bookmark: Releasing / Version tags. 1.2.4 supoort springboot 2.7.0 --- README.md | 2 +- pom.xml | 4 ++-- .../pig4cloud/plugin/excel/ExcelHandlerConfiguration.java | 2 -- .../plugin/excel/ResponseExcelAutoConfiguration.java | 6 +++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1bba379..134b864 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ EasyExcel是一个基于Java的简单、省内存的读写Excel的开源项目 com.pig4cloud.excel excel-spring-boot-starter - 1.2.3 + 1.2.4 ``` diff --git a/pom.xml b/pom.xml index bc80c0e..cc3139e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ com.pig4cloud.excel excel-spring-boot-starter - 1.2.3 + 1.2.4 excel-spring-boot-starter easy and high performance excel https://pig4cloud.com @@ -37,7 +37,7 @@ 1.8 3.1.0 - 2.3.0 + 2.3.1 0.0.32 2.2.5 1.21 diff --git a/src/main/java/com/pig4cloud/plugin/excel/ExcelHandlerConfiguration.java b/src/main/java/com/pig4cloud/plugin/excel/ExcelHandlerConfiguration.java index 0ff61a4..bafa804 100644 --- a/src/main/java/com/pig4cloud/plugin/excel/ExcelHandlerConfiguration.java +++ b/src/main/java/com/pig4cloud/plugin/excel/ExcelHandlerConfiguration.java @@ -15,7 +15,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.MessageSource; import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; import java.util.List; @@ -24,7 +23,6 @@ * @version 1.0 */ @RequiredArgsConstructor -@Configuration public class ExcelHandlerConfiguration { private final ExcelConfigProperties configProperties; diff --git a/src/main/java/com/pig4cloud/plugin/excel/ResponseExcelAutoConfiguration.java b/src/main/java/com/pig4cloud/plugin/excel/ResponseExcelAutoConfiguration.java index 2c2f9ce..1d2051f 100644 --- a/src/main/java/com/pig4cloud/plugin/excel/ResponseExcelAutoConfiguration.java +++ b/src/main/java/com/pig4cloud/plugin/excel/ResponseExcelAutoConfiguration.java @@ -7,10 +7,10 @@ import com.pig4cloud.plugin.excel.processor.NameProcessor; import com.pig4cloud.plugin.excel.processor.NameSpelExpressionProcessor; import lombok.RequiredArgsConstructor; +import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.springframework.web.method.support.HandlerMethodArgumentResolver; import org.springframework.web.method.support.HandlerMethodReturnValueHandler; @@ -26,9 +26,9 @@ *

* 配置初始化 */ -@Import(ExcelHandlerConfiguration.class) +@AutoConfiguration @RequiredArgsConstructor -@Configuration(proxyBeanMethods = false) +@Import(ExcelHandlerConfiguration.class) @EnableConfigurationProperties(ExcelConfigProperties.class) public class ResponseExcelAutoConfiguration {