标题mybatis-plus 通过listObjs 返回指定泛形数据如List QueryWrapper<User> wrapper = new QueryWrapper<>(); wrapper.select("`name`"); wrapper.eq("sex",sex); List<String> objects = this.listObjs(wrapper,Object::toString);