@Configuration @ConditionalOnBean(value=org.apache.ibatis.session.SqlSessionFactory.class) @EnableConfigurationProperties(value=PageHelperProperties.class) public class PageHelperAutoConfiguration extends Object
| 构造器和说明 |
|---|
PageHelperAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPageInterceptor() |
Properties |
pageHelperProperties()
接受分页插件额外的属性
|
@Bean @ConfigurationProperties(prefix="pagehelper") public Properties pageHelperProperties()
@PostConstruct public void addPageInterceptor()
Copyright © 2017. All rights reserved.