mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
修复分页参数size<0时全表查询的问题
This commit is contained in:
parent
163eb86e9d
commit
ba2db2e2d8
@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|||||||
import com.baomidou.mybatisplus.core.toolkit.ParameterUtils;
|
import com.baomidou.mybatisplus.core.toolkit.ParameterUtils;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
|
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.dialects.IDialect;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.dialects.IDialect;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
import org.apache.ibatis.executor.Executor;
|
import org.apache.ibatis.executor.Executor;
|
||||||
import org.apache.ibatis.mapping.BoundSql;
|
import org.apache.ibatis.mapping.BoundSql;
|
||||||
import org.apache.ibatis.mapping.MappedStatement;
|
import org.apache.ibatis.mapping.MappedStatement;
|
||||||
@ -21,6 +23,8 @@ import java.sql.SQLException;
|
|||||||
* @author seven
|
* @author seven
|
||||||
* @since 2021年10月11日
|
* @since 2021年10月11日
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
public class LimitInterceptor extends PaginationInnerInterceptor {
|
public class LimitInterceptor extends PaginationInnerInterceptor {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user