You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
770 B
Java
33 lines
770 B
Java
/*
|
|
* 文 件 名: MybatisPlusConfig
|
|
* 版 权:
|
|
* 描 述: <描述>
|
|
* 修 改 人: RedName
|
|
* 修改时间: 2022/8/9
|
|
* 跟踪单号: <跟踪单号>
|
|
* 修改单号: <修改单号>
|
|
* 修改内容: <修改内容>
|
|
*/
|
|
package com.supervision.config;
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
/**
|
|
* <功能详细描述>
|
|
*
|
|
* @author RedName
|
|
* @version [版本号, 2022/8/9]
|
|
* @see [相关类/方法]
|
|
* @since [产品/模块版本]
|
|
*/
|
|
@Configuration
|
|
public class MybatisPlusConfig {
|
|
|
|
@Bean
|
|
public PaginationInterceptor paginationInterceptor() {
|
|
return new PaginationInterceptor();
|
|
}
|
|
}
|