Tag:Rationalization

  • Precautions of PageHelper on springboot

    Time:2021-6-30

    Pom.xml configuration <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>*.*.*</version> </dependency> Bean injection, here you can customize the configuration @Configuration public class PageHelperConfig { @Bean(name = “pageHelper”) public PageHelper pageHelper() { PageHelper pageHelper = new PageHelper(); Properties properties = new Properties(); /**The default is false. When it is set to true, the offset of the first parameter of rowborders […]