![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis
Jm大好时光
这个作者很懒,什么都没留下…
展开
-
springboot+Mybatis的分页插件pageHelper
1、在pom.xml加入pageHelper依赖包 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1...原创 2018-11-21 15:49:53 · 163 阅读 · 0 评论 -
教你如何使用Mybatis generator生成exmaple 以及简单使用动态where语句!!
首先要知道什么是generator,Mybatis generator是一个exmaple类的生成工具,生成包括entity、实体example(ps:用来操作where语句查询、分页的类,非常好用,大大的节省了去写繁杂的sql查询语句的时间),mapper.xml文件(存放sql语句的位置),mapper接口。 1、如何生成example文件 下面是example类生成工具,大家可以点链接进去下...原创 2019-04-10 16:56:24 · 1338 阅读 · 0 评论