diff --git a/.idea/icon.png b/.idea/icon.png deleted file mode 100644 index 000b4be4..00000000 Binary files a/.idea/icon.png and /dev/null differ diff --git a/README.md b/README.md index b3d5c9a3..aa7a1878 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,15 @@ ### 核心依赖 -| 依赖 | 版本 | -|-----------------------------|------------| -| Spring Boot | 3.3.3 | -| Spring Cloud | 2023.0.3 | +| 依赖 | 版本 | +|-----------------------------|-----------| +| Spring Boot | 3.3.4 | +| Spring Cloud | 2023.0.3 | | Spring Cloud Alibaba | 2023.0.1.2 | -| Spring Authorization Server | 1.3.1 | -| Mybatis Plus | 3.5.7 | -| Vue | 3.4 | -| Element Plus | 2.7 | +| Spring Authorization Server | 1.3.1 | +| Mybatis Plus | 3.5.8 | +| Vue | 3.4 | +| Element Plus | 2.7 | ### 模块说明 diff --git a/pig-common/pig-common-mybatis/src/main/java/com/pig4cloud/pig/common/mybatis/plugins/PigPaginationInnerInterceptor.java b/pig-common/pig-common-mybatis/src/main/java/com/pig4cloud/pig/common/mybatis/plugins/PigPaginationInnerInterceptor.java index f98829a8..96e1760b 100644 --- a/pig-common/pig-common-mybatis/src/main/java/com/pig4cloud/pig/common/mybatis/plugins/PigPaginationInnerInterceptor.java +++ b/pig-common/pig-common-mybatis/src/main/java/com/pig4cloud/pig/common/mybatis/plugins/PigPaginationInnerInterceptor.java @@ -13,8 +13,6 @@ import org.apache.ibatis.mapping.MappedStatement; import org.apache.ibatis.session.ResultHandler; import org.apache.ibatis.session.RowBounds; -import java.sql.SQLException; - /** * 分页拦截器 *
@@ -51,7 +49,7 @@ public class PigPaginationInnerInterceptor extends PaginationInnerInterceptor { @Override public void beforeQuery(Executor executor, MappedStatement ms, Object parameter, RowBounds rowBounds, - ResultHandler resultHandler, BoundSql boundSql) throws SQLException { + ResultHandler resultHandler, BoundSql boundSql) { IPage> page = ParameterUtils.findPage(parameter).orElse(null); // size 小于 0 直接设置为 0 , 即不查询任何数据 if (null != page && page.getSize() < 0) {