com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper
private String getColumn(SerializedLambda lambda, boolean onlyColumn) throws MybatisPlusException { String fieldName = PropertyNamer.methodToProperty(lambda.getImplMethodName()); Class aClass = lambda.getInstantiatedMethodType(); if (!this.initColumnMap) { this.columnMap = LambdaUtils.getColumnMap(aClass); } Assert.notNull(this.columnMap, "can not find lambda cache for this entity [%s]", new Object[]{aClass.getName()}); ColumnCache columnCache = (ColumnCache)this.columnMap.get(LambdaUtils.formatKey(fieldName)); Assert.notNull(columnCache, "can not find lambda cache for this property [%s] of entity [%s]", new Object[]{fieldName, aClass.getName()}); return onlyColumn ? columnCache.getColumn() : columnCache.getColumnSelect(); }