首页>代码>基于SpringBoot+Vue实现的职工管理系统>/源代码/StaffManagerApi/src/main/java/com/rabbiter/staff/config/MyBatisPlusConfig.java
package com.rabbiter.staff.config; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class MyBatisPlusConfig { /** * 注册插件 */ @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor(); // 添加分页插件 PaginationInnerInterceptor pageInterceptor = new PaginationInnerInterceptor(); // 设置数据库类型 pageInterceptor.setDbType(DbType.MYSQL); interceptor.addInnerInterceptor(pageInterceptor); return interceptor; } }

zolscy LV24
2024年11月24日
15953970869 LV6
2024年11月10日
123456nty LV37
2024年10月19日
Jerry_Handson LV9
2024年10月9日
lilong007 LV23
2024年8月28日
202106 LV6
2024年8月23日
mlml123 LV6
2024年8月20日
255921158 LV5
2024年7月19日
qq970040477 LV24
2024年6月25日
sweetlove LV20
2024年6月12日

Mhgfhjyrf LV3
2024年12月9日
WanLiuYun LV12
2024年11月11日
15953970869 LV6
2024年11月10日
林kkkkkk LV6
2024年10月31日
yangchengshuai LV15
2024年10月29日
withyouatdusk LV2
2024年10月22日
Tomcat80 LV5
2024年10月22日
123456nty LV37
2024年10月19日
黄志琴 LV1
2024年10月19日
angaochong LV5
2024年10月16日