diff --git a/README.md b/README.md index 9504866..a9277fe 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,42 @@ -# mybatis-plus-join +

+ + Mybatis-Plus-Join-Logo + +

+

+ 为简化开发工作、提高生产率而生 +

-* 对 mybatis-plus 多表查询的扩展 -* 演示工程 -* 插件文档 https://ylctmh.com -* 点个Star支持一下吧 :) +

+ + + + +
+ + maven + -QQ群:1022221898 + + code style + +

+

mybatis-plus-join

+

+对 mybatis-plus 多表查询的扩展 | +演示工程 | +使用文档 | +点个Star支持一下吧 (☆▽☆) +

+ +

+QQ群:1022221898 或者 添加作者微信,备注MPJ,加入微信群 -添加作者微信,备注MPJ,加入微信群 +
+添加作者微信,备注MPJ,加入微信群 +

-### 插件文档 https://ylctmh.com +### 使用文档WIKI ## 使用方法 @@ -108,7 +135,7 @@ class test { @Test void testResultMap() { - MPJLambdaWrapper wrapper = new MPJLambdaWrapper() + MPJLambdaWrapper wrapper = new MPJLambdaWrapper<>(User.class) .selectAll(UserDO.class) //对多查询 .selectCollection(AddressDO.class, UesrDTO::getAddressList) @@ -124,29 +151,12 @@ class test { } ``` -等效于ResultMap - -```xml - - - - - - - - - - - - -``` - MPJLambdaWrapper其他功能 -* 一对一,一对多使用 -* 简单的SQL函数使用 -* ON语句多条件支持 +* + 一对一,一对多使用 +* 简单的SQL函数使用 +* ON语句多条件支持 +* 其他全部功能请参考使用文档 - -# 插件文档 wiki https://ylctmh.com \ No newline at end of file +# 使用文档 wiki https://mybatisplusjoin.com \ No newline at end of file diff --git a/mybatis-plus-join-core/src/main/java/com/github/yulichang/toolkit/TableList.java b/mybatis-plus-join-core/src/main/java/com/github/yulichang/toolkit/TableList.java index 3ecfa98..bd9e37f 100644 --- a/mybatis-plus-join-core/src/main/java/com/github/yulichang/toolkit/TableList.java +++ b/mybatis-plus-join-core/src/main/java/com/github/yulichang/toolkit/TableList.java @@ -8,6 +8,9 @@ import java.util.List; import java.util.Objects; import java.util.stream.Collectors; +/** + * @author yulichang + */ @Data public class TableList {