通用mapper使用Example代码实例(springboot)
通用mapper使用Example代码实例(springboot)
本文环境springboot,mysql整合mybatis:用通用mapper实现mysql数据库的增删改查;
1.jar包导入
在pom.xml文件加上如下配置:
其中有Mybatis依赖Jar包,Mapper依赖Jar包,pagehelper分页依赖Jar包(可选)
<dependency>
...
原创
2019-05-15 16:10:54 ·
2797 阅读 ·
0 评论