Skip to content

Commit 5d00353

Browse files
committed
更新文档,增加示例信息
1 parent a692ce0 commit 5d00353

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,16 @@ Assert.assertEquals(1, userMapper.deleteByPrimaryKey(user.getId()));
182182

183183
上面的示例只是简单的使用了 MyBatis Mapper,还有很多开箱即用的功能没有涉及,
184184
建议在上述示例运行成功后,继续查看本项目其他模块的详细文档,熟悉各部分文档后,
185-
在使用 MyBatis Mapper 时会更得心应手,随心所欲。
185+
在使用 MyBatis Mapper 时会更得心应手,随心所欲。
186+
187+
## 2. 示例项目
188+
189+
项目地址: https://github.com/mybatis-mapper/mybatis-mapper-example-springboot
190+
191+
项目目前包含 3 个分支,分别为:
192+
193+
- master 简单集成
194+
- baseid 简单封装,所有表都使用名为 id,类型为 bigint 的自增主键
195+
- shardingsphere 分库分表,支持分库分表的代码生成,每个表有不同的id
196+
197+
通过示例项目可以结合代码生成器自动生成大部分代码,可以用于测试和学习 mybatis-mapper 中的功能。

0 commit comments

Comments
 (0)