package com.ruoyi.web.modules.category.service;

import java.util.List;
import com.ruoyi.web.modules.category.domain.BizGoodsCategory;
import com.ruoyi.web.modules.category.vo.CategoryLevel2OptionVO;
import com.ruoyi.web.modules.category.vo.CategoryListVO;
import com.ruoyi.web.modules.category.vo.CategoryTreeResultVO;

/**
 * 商品分类 Service
 */
public interface ICategoryService
{
    CategoryListVO selectCategoryList(String keyword);

    CategoryTreeResultVO selectCategoryTree(String keyword);

    List<BizGoodsCategory> selectLevel1Options();

    List<CategoryLevel2OptionVO> selectLevel2Options();

    int insertCategory(BizGoodsCategory category);

    int updateCategory(BizGoodsCategory category);

    void deleteCategoryByIds(Long[] categoryIds, String operator);
}
