From ac21edfd3a5199f94d74d93021744cac29d4c1fe Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期六, 23 五月 2026 23:25:01 +0800
Subject: [PATCH] fix: 首页工序数据去除权限限制
---
src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java b/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java
index 253910a..69a5f41 100644
--- a/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java
+++ b/src/main/java/com/ruoyi/framework/config/MybatisPlusConfig.java
@@ -18,8 +18,6 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;
-import java.sql.SQLException;
-
/**
* MyBatis Plus config.
*/
@@ -48,8 +46,7 @@
PaginationInnerInterceptor interceptor = new PaginationInnerInterceptor(DbType.MYSQL) {
@Override
public void beforeQuery(Executor executor, MappedStatement ms, Object parameter,
- RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql)
- throws SQLException {
+ RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) {
IPage<?> page = ParameterUtils.findPage(parameter).orElse(null);
if (page != null && page.getSize() <= 0) {
return;
--
Gitblit v1.9.3