mybatis+mybatisplus
mybatis+mybatisplus
kiniary
这个作者很懒,什么都没留下…
展开
-
springboot项目中mybatis分页插件的使用
springboot项目中mybatis分页插件的使用1.首先,我们需要在 pom.xml 文件中添加分页插件依赖包。<!-- pagehelper --><dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.原创 2021-04-21 00:06:52 · 424 阅读 · 0 评论 -
配置全局的逻辑删除处理(mybatis-plus提供)
配置全局的逻辑删除处理(mybatis-plus提供)mybatis-plus: # 扫描 mapper.xml mapper-locations: classpath*:mapper/**/*Mapper.xml #别名包配置 typeAliasesPackage: com/ali/entity configuration: call-setters-on-nulls: true global-config: db-config: logic-dele原创 2021-12-27 15:38:52 · 817 阅读 · 0 评论 -
使用mybatisPlus的lambdaQueryWrapper的模糊分页查询
使用mybatisPlus的lambdaQueryWrapper的模糊分页查询1.导入坐标// mybatis <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> </dependency> //springboot整合mybatisplus &l原创 2021-03-17 10:01:29 · 11579 阅读 · 0 评论