# springBoot_Mybatis
**Repository Path**: lecibupidechengxuyuan/springBoot_Mybatis
## Basic Information
- **Project Name**: springBoot_Mybatis
- **Description**: springboot整合mybatisplus,涉及的常用方法insert ,select ,update,delete的测试Demo。
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-08-20
- **Last Updated**: 2021-12-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: MyBatis, SpringBoot
## README
# springboot_mybatis
#### 介绍
springboot整合mybatis演示代码
#### 软件架构
软件架构说明
#### 安装教程
1.  xxxx
2.  xxxx
3.  xxxx
#### 使用说明
# springboot-mybatisplus
springboot整合mybatisplus的常见使用
具体步骤:
    1.搭建springboot项目(这个步骤省略,比较简单,)
    2.然后导入,mybatisplus依赖maven坐标
    
             com.baomidou
             mybatisplus-spring-boot-starter
             1.0.4
    
    3.创建pojo实体类对象,如果不想手写getter,setter方法,可以使用lombok
    具体maven坐标如下:
    
              org.projectlombok
              lombok
              true
    
    3.1在实体类上面添加注解@Data即可
    
    4.创建实体类pojo的mapper接口,extends basemapper
    继承basemapper中对pojo操作的方法
    
    5.然后我们创建测试文件,需要导入springboottest坐标
    
               org.springframework.boot
               spring-boot-starter-test
               test
    
    6.之后创建测试类,需要写上注解 @RunWith(SpringRunner.class) @SpringBootTest
    
    7.编写test方法即可。
    
#### 参与贡献
1.  Fork 本仓库
2.  新建 Feat_xxx 分支
3.  提交代码
4.  新建 Pull Request
#### 特技
1.  使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2.  Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3.  你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4.  [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5.  Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6.  Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)