From 25bc045f66f3958fa4a15026e581c2b41d716275 Mon Sep 17 00:00:00 2001
From: yulichang <570810310@qq.com>
Date: Thu, 20 Apr 2023 11:41:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 74 +++++++++++--------
.../github/yulichang/toolkit/TableList.java | 3 +
2 files changed, 45 insertions(+), 32 deletions(-)
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 多表查询的扩展
-* 演示工程
-* 插件文档 https://ylctmh.com
-* 点个Star支持一下吧 :)
+
+
+
+
+
+
+
+
+
-QQ群:1022221898
+
+
+
+
+mybatis-plus-join
+
+对 mybatis-plus 多表查询的扩展 |
+演示工程 |
+使用文档 |
+点个Star支持一下吧 (☆▽☆)
+
+
+
+QQ群:1022221898 或者
添加作者微信,备注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 {