package cn.lili.modules.goods.service;
|
|
import cn.lili.modules.goods.entity.dos.CategoryParameterGroup;
|
import cn.lili.modules.goods.entity.vos.ParameterGroupVO;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
|
/**
|
* 分类绑定参数组业务层
|
*
|
* @author pikachu
|
* @since 2020-03-02 16:44:56
|
*/
|
public interface CategoryParameterGroupService extends IService<CategoryParameterGroup> {
|
|
/**
|
* 查询分类绑定参数集合
|
*
|
* @param categoryId 分类Id
|
* @return 分类参数
|
*/
|
List<ParameterGroupVO> getCategoryParams(String categoryId);
|
|
|
/**
|
* 查询分类绑定参数组信息
|
*
|
* @param categoryId 分类id
|
* @return 参数组列表
|
*/
|
List<CategoryParameterGroup> getCategoryGroup(String categoryId);
|
|
|
/**
|
* 更新分类参数组绑定信息
|
*
|
* @param categoryParameterGroup 分类参数组信息
|
* @return 是否成功
|
*/
|
boolean updateCategoryGroup(CategoryParameterGroup categoryParameterGroup);
|
|
/**
|
* 通过分类ID删除关联品牌
|
* @param categoryId 品牌ID
|
*/
|
void deleteByCategoryId(String categoryId);
|
|
}
|