QueryWrapper.select 重命名列 (实体类查询返回指定列名)

 QueryWrapper wrapper = new QueryWrapper<>();
        wrapper.select("category_title text","category_id value").ne("parent_id", 0);
        List> webUser2 = webCategoryMapper.selectMaps(wrapper);

你可能感兴趣的:(java)