该方法仅能传入 lambda 表达式产生的合成类
com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: 该方法仅能传入 lambda 表达式产生的合成类
at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:49)
at com.baomidou.mybatisplus.core.toolkit.support.SerializedLambda.resolve(SerializedLambda.java:56)
at com.baomidou.mybatisplus.core.toolkit.LambdaUtils.lambda$resolve$0(LambdaUtils.java:64)
at java.util.Optional.orElseGet(Optional.java:267)
at com.baomidou.mybatisplus.core.toolkit.LambdaUtils.resolve(LambdaUtils.java:63)
at com.github.yulichang.toolkit.LambdaUtils.getColumn(LambdaUtils.java:29)
at com.github.yulichang.wrapper.MPJLambdaWrapper.join(MPJLambdaWrapper.java:210)
at com.github.yulichang.wrapper.MPJLambdaWrapper.join(MPJLambdaWrapper.java:29)
at com.github.yulichang.wrapper.interfaces.LambdaJoin.leftJoin(LambdaJoin.java:17)
at com.github.yulichang.wrapper.interfaces.LambdaJoin.leftJoin(LambdaJoin.java:13)
at DeviceInfoController.list(DeviceInfoController.kt:46)
对于Kotlin类型的Entity,好像没法使用
error