Skip to content

Commit ceb69ef

Browse files
authored
Update springboot-mybatis.md
1 parent 92224ac commit ceb69ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

md/springboot-mybatis.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ SpringBoot 整合 Mybatis 有两种常用的方式,一种就是我们常见的
4646

4747
### 1.3 创建数据库和 user 用户表
4848

49-
我们的数据库很简单,只有 4 个字段:用户 id、姓名、年龄、余额,如下图所示:
49+
我们的用户表很简单,只有 4 个字段:用户 id、姓名、年龄、余额,如下图所示:
5050

5151
![表信息](http://my-blog-to-use.oss-cn-beijing.aliyuncs.com/18-11-29/99248060.jpg)
5252

@@ -116,6 +116,8 @@ Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class
116116

117117
### 1.6 创建用户类 Bean
118118

119+
User.java
120+
119121
```java
120122
public class User {
121123
private int id;

0 commit comments

Comments
 (0)