Functionf = (o -> o.toString()) ; returnpointService.listObjs(lambdaQueryWrapper,f); }
mybatis-plus的listObjs()源码 /** * 根据 Wrapper 条件,查询全部记录 * *@paramqueryWrapper 实体对象封装操作类 {@linkcom.baomidou.mybatisplus.core.conditions.query.QueryWrapper} *@parammapper 转换函数 */default<V> List<V>listObjs(Wrapper<T> queryWrapper, Function<?superObject, V> mapper){return...