| | |
| | | |
| | | |
| | | @Override |
| | | public List<CategoryVO> getCategoryVOTree(Integer categoryType){ |
| | | public List<CategoryVO> getCategoryVOTree(String categoryType){ |
| | | List<Category> categoryList = categoryMapper.selectList(new QueryWrapper<Category>().lambda() |
| | | .eq(Category::getIsdeleted, Constants.ZERO) |
| | | .eq(Objects.nonNull(categoryType),Category::getType,categoryType) |
| | | .in(Objects.nonNull(categoryType),Category::getType,categoryType.split(",")) |
| | | .orderByAsc(Category::getSortnum,Category::getId) |
| | | ); |
| | | List<CategoryVO> categoryVOList = new ArrayList<>(); |