分页插件

pull/1/head
yz 2 years ago
parent 6b4f4e2719
commit 3b2cd2cb01

@ -30,6 +30,12 @@
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.0.0</version>
</dependency>
<!-- 分页插件-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.4.1</version>
</dependency>
<!--逆向工程-->
<dependency>

@ -75,7 +75,7 @@ spring:
mybatis:
type-aliases-package: com.sztzjy.forex.trading_trading.entity
mapper-locations: classpath*:mapper/*.xml
mapper-locations: classpath:mybatis-config.xml
swagger:
enable: true

@ -0,0 +1,7 @@
<configuration>
<plugins>
<plugin interceptor="com.github.pagehelper.PageInterceptor">
<property name="helperDialect" value="mysql"/>
</plugin>
</plugins>
</configuration>
Loading…
Cancel
Save