mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
1.0.9
This commit is contained in:
parent
0648f1bb2c
commit
bed97d631e
@ -28,7 +28,7 @@ public class F {
|
||||
}
|
||||
|
||||
/**
|
||||
* 与S的getColumn一致,连个都用,保留一个就行了
|
||||
* 与S的getColumn一致,两个都用,保留一个就行了
|
||||
*/
|
||||
public static <T> String getColumn(SFunction<T, ?> fn) {
|
||||
SerializedLambda lambda = LambdaUtils.resolve(fn);
|
||||
|
@ -1,5 +1,5 @@
|
||||
## 支持lambda的QueryWrapper
|
||||
|
||||
[官方自定义sql](https://mp.baomidou.com/guide/wrapper.html#%E4%BD%BF%E7%94%A8-wrapper-%E8%87%AA%E5%AE%9A%E4%B9%89sql)
|
||||
让QueryWrapper也能使用lambda
|
||||
单表lambda请使用mybatis-plus提供的LambdaQueryWrapper
|
||||
本示例主要在连表的情况下使用!
|
||||
|
@ -55,7 +55,7 @@ public class S {
|
||||
}
|
||||
|
||||
/**
|
||||
* 与F的getColumn一致,连个都用,保留一个就行了
|
||||
* 与F的getColumn一致,两个都用,保留一个就行了
|
||||
*/
|
||||
public static <T> String getColumn(SFunction<T, ?> fn) {
|
||||
SerializedLambda lambda = LambdaUtils.resolve(fn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user