mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
update
This commit is contained in:
parent
ed44499161
commit
3c2b29ef24
20
README.md
20
README.md
@ -40,23 +40,23 @@
|
||||
* service继承MyBaseService (可选)
|
||||
* serviceImpl继承MyBaseServiceImpl (可选)
|
||||
|
||||
MyBaseMapper继承BaseMapper,在原有的方法基础上又添加了以下方法:
|
||||
SelectJoinOne 连表查询一条记录对象
|
||||
SelectJoinList 连表查询返回命中记录对象集合
|
||||
SelectJoinPage 连表分页查询对象集合
|
||||
SelectJoinMap 连表查询一条记录返回Map
|
||||
SelectJoinMaps 连表查询返回命中记录Map集合
|
||||
SelectJoinMapsPage 连表分页查询返回Map集合
|
||||
1. MyBaseMapper继承BaseMapper,在原有的方法基础上又添加了以下方法:
|
||||
* SelectJoinOne 连表查询一条记录对象
|
||||
* SelectJoinList 连表查询返回命中记录对象集合
|
||||
* SelectJoinPage 连表分页查询对象集合
|
||||
* SelectJoinMap 连表查询一条记录返回Map
|
||||
* SelectJoinMaps 连表查询返回命中记录Map集合
|
||||
* SelectJoinMapsPage 连表分页查询返回Map集合
|
||||
|
||||
MyBaseService 继承了IService,同样添加以上方法
|
||||
2. MyBaseService 继承了IService,同样添加以上方法
|
||||
|
||||
MyBaseServiceImpl 继承了ServiceImpl,同样添加了以上方法
|
||||
3. MyBaseServiceImpl 继承了ServiceImpl,同样添加了以上方法
|
||||
|
||||
## 核心类 MyQueryWrapper, MyLambdaQueryWrapper和MyJoinLambdaQueryWrapper
|
||||
|
||||
|-|MyQueryWrapper|MyLambdaQueryWrapper|MyJoinLambdaQueryWrapper|
|
||||
|---|---|---|---|
|
||||
|select(String)|支持|支持|不支持|
|
||||
|select(String)|支持|<font color=red>**支持**|不支持|
|
||||
|select(lambda)|不支持|仅支持主表lambda|所有表lambda|
|
||||
|条件String|支持|不支持|不支持|
|
||||
|条件lambda|不支持|仅支持主表lambda|所有表lambda|
|
||||
|
@ -1,4 +1,7 @@
|
||||
package com.github.mybatisplus.interfaces;
|
||||
|
||||
/**
|
||||
* @author yulichang
|
||||
*/
|
||||
public interface BaseJoin {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user